Retro68/gcc/gcc/testsuite/gfortran.dg/pr67496.f90
2017-10-07 02:16:47 +02:00

13 lines
160 B
Fortran

! PR fortran/67496
! { dg-do compile }
type :: a
end type a
type :: b
type (a) :: j(1)
end type b
type(a) :: x
type(b) :: y
y = b((/x/))
end