blob: e70551838ae643fb424f496f1b374116309913ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
! { dg-do run }
!
! PR 47789: [F03] Structure constructor of type extending DT with no components
!
! Contributed by eddyg_61-bugzilla@yahoo.it
type:: one
end type
type, extends(one) :: two
integer :: a
end type
type(two) :: wo = two(6)
if (wo%a /= 6) call abort()
end
|