blob: 6d6b2c0157976549124939cecc3589ef894879e6 [file] [log] [blame]
! { dg-do compile }
! PR fortran/30792
character string*1025
integer i
data (string(i:i),i=1,1025)/1025*'?'/ ! { dg-error "Invalid substring" }
end