AArch64: correct constraint on Upl early clobber alternatives
[official-gcc.git] / gcc / testsuite / gfortran.dg / alloc_comp_constructor_7.f90
blobddc18ba5de5097f604728b3c86714306ad9d0fe5
1 ! { dg-do run }
3 ! PR 60357: [F08] structure constructor with unspecified values for allocatable components
5 ! Contributed by Antony Lewis <antony@cosmologist.info>
7 Type A
8 integer :: X = 1
9 integer, allocatable :: y
10 integer, allocatable :: z(:)
11 end type
13 Type(A) :: Me = A(X=1)
15 if (allocated(Me%y)) STOP 1
16 if (allocated(Me%z)) STOP 2
18 end