rt_gccstream/gcc/testsuite/gfortran.dg/array_constructor_25.f03

13 lines
243 B
Fortran

! { dg-do compile }
! { dg-options "-std=f2003" }
! PR fortran/36492
! Check for incorrect error message with -std=f2003.
! Reduced test based on the one from comment #4, PR 36492.
type t
character (2) :: arr (1) = [ "a" ]
end type t
end