c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr104849.f90
blobae221b5ba1035caa78f924fb557e051ae2d6be52
1 ! { dg-do compile }
2 ! PR fortran/104849 - ICE in find_array_section
3 ! Contributed by G.Steinmetz
5 program p
6 integer, parameter :: a(:) = [1, 2] ! { dg-error "deferred shape" }
7 integer :: x(2)
8 data x /a(:)/ ! { dg-error "Invalid" }
9 end