OSDN Git Service

gcc/fortran/
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / array_constructor_type_21.f03
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
3
4 ! PR fortran/36492
5 ! Check that it works with a typespec even for not-the-same-length elements.
6
7 type t
8   character (1) :: arr (2) = [ character(len=2) :: "a", "ab" ]
9 end type t
10
11 end