[C++ PATCH] Deprecate -ffriend-injection
[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" }