PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gfortran.dg / charlen_06.f90
blobe20d6047f68775babd31fa78d884ae56fb696182
1 ! { dg-do compile }
2 ! PR fortran/65173
3 program p
4 type t
5 character(*) :: x+1 ! { dg-error "error in data declaration" }
6 end type
7 end
8 ! { dg-excess-errors "needs to be a constant specification" }