AArch64: correct constraint on Upl early clobber alternatives
[official-gcc.git] / gcc / testsuite / gfortran.dg / select_type_19.f03
blob2608981eed017641e1e568942d9e8c72c9f116e5
1 ! { dg-do run }
3 ! PR 46581: [4.6 Regression] [OOP] segfault in SELECT TYPE with associate-name
5 ! Contributed by Salvatore Filippone <sfilippone@uniroma2.it>
8   implicit none
10   type :: t1
11     integer, allocatable :: ja(:)
12   end type
14   class(t1), allocatable  :: a 
16   allocate(a)
18   select type (aa=>a)
19   type is (t1)
20     if (allocated(aa%ja)) STOP 1
21   end select
23 end