blob: c812bceeb095dd7a803bda930c9458f4df2a06ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
! { dg-do compile }
! { dg-options "-fdump-tree-original" }
!
! PR fortran/44857
!
!
Type :: t
character (len=5) :: txt(2)
End Type
character (len=5) :: str(2) = [ "12345", "67890" ]
Type (t) :: tt = t( [str] ) ! { dg-error "does not reduce to a constant" }
End
|