2014-07-12 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / derived_constructor_char_2.f90
blobc812bceeb095dd7a803bda930c9458f4df2a06ff
1 ! { dg-do compile }
2 ! { dg-options "-fdump-tree-original" }
4 ! PR fortran/44857
8 Type :: t
9 character (len=5) :: txt(2)
10 End Type
11 character (len=5) :: str(2) = [ "12345", "67890" ]
12 Type (t) :: tt = t( [str] ) ! { dg-error "does not reduce to a constant" }
13 End