AArch64: correct constraint on Upl early clobber alternatives
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr91727.f90
blob54276b45d33ed122b038e467dad14217468d78c8
1 ! { dg-do compile }
2 ! Code contributed by Gerhard Steinmetz.
3 program p
4 type t
5 class(*), allocatable :: a
6 end type
7 type(t) :: x
8 allocate (x%a, source=[1]) ! { dg-error "have the same rank as" }
9 end