Debian Codegraph @

gcc/testsuite/gfortran.dg/pr70070.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/70070 - ICE on initializing character data beyond min/max bound
3
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