Fix compilation failure with C++98 compilers
[official-gcc.git] / gcc / testsuite / gfortran.dg / charlen_02.f90
blob264050384629453d07e0ba8729d7bd54ed1a7d5a
1 ! { dg-do compile }
2 ! PR fortran/65173
3 program p
4 type t
5 character(1), allocatable :: n(256) ! { dg-error "must have a deferred shape" }
6 end type
7 end