c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr88326.f90
blob3cde68369f49650ea07f4cf9a29edc4482a8aa34
1 ! { dg-do compile }
3 ! PR fortran/88326 - ICE in gfc_conv_array_initializer
5 program p
6 character, parameter :: x(3) = ['a','b','c']
7 character :: y(1) = transfer('', x) ! { dg-error "Different shape for array assignment" }
8 character(0) :: z(1) = transfer('', x) ! { dg-error "Different shape for array assignment" }
9 character :: u(0) = transfer('', x)
10 print *, y, z, u
11 end