Debian Codegraph @

gcc/testsuite/gfortran.dg/pr124450.f90

raw
1 ! PR fortran/124450
2 ! { dg-do compile }
3
4 type ta
5 integer(kind=4) :: a(1)
6 integer(kind=4) :: b(1)
7 end type ta
8 type tb
9 type(ta) :: c(1) = ta(1, 2)
10 end type tb
11 type(tb) :: e = tb(ta(3, 4))
12
13 print *, e
14 end