summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/array_constructor_25.f03
blob: b18746815c5880c7258da99886898ee1d25c1bf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { 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