summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/array_constructor_29.f03
blob: 03534fa81ed7d3823db12a6ce4edffb016ce4d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! { dg-do compile }

! PR fortran/36492
! Similar to the ICE-test, but now test it works for real constants.

implicit none

integer, parameter :: a = 42
type t
  character (a) :: arr (1) = [ "a" ]
end type t

end