c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr70070.f90
blob04a6dd585ab19ad887e361c7a75d5328349bf9d9
1 ! { dg-do compile }
2 ! PR fortran/70070 - ICE on initializing character data beyond min/max bound
4 program p
5 character(1) :: a, b
6 data (a(i:i),i=0,0) /1*'#'/ ! { dg-error "Substring start index" }
7 data (b(i:i),i=2,3) /2*'#'/ ! { dg-error "Substring end index" }
8 end