Retro68/gcc/gcc/testsuite/gfortran.dg/charlen_06.f90
2017-10-07 02:16:47 +02:00

9 lines
208 B
Fortran

! { dg-do compile }
! PR fortran/65173
program p
type t
character(*) :: x+1 ! { dg-error "error in data declaration" }
end type
end
! { dg-excess-errors "needs to be a constant specification" }