2016-12-07 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / charlen_04.f90
blobf93465f2ae6ddb67f6e2adbefa956c202ece5ce5
1 ! { dg-do compile }
2 ! PR fortran/65173
3 program p
4 type t
5 character(*), allocatable :: x(*) ! { dg-error "must have a deferred shape" }
6 end type
7 end
8 ! { dg-excess-errors "needs to be a constant specification" }