[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gfortran.dg / charlen_09.f90
blob99b022bdfc4679d4265c00bce35e7306a0c4e67e
1 ! { dg-do compile }
2 ! PR fortran/65173
3 program p
4 type t
5 end type
6 type, extends(t) :: t2
7 character x(:) ! { dg-error "must have an explicit shape" }
8 end type
9 end