rt_gccstream/gcc/testsuite/gfortran.dg/array_memcpy_4.f90

14 lines
281 B
Fortran

! { dg-do compile }
! { dg-options "-O2 -fdump-tree-original" }
type t
logical valid
integer :: x, y
end type
type (t) :: s(5)
type (t) :: d(5)
d = s
end
! { dg-final { scan-tree-dump-times "d = " 1 "original" } }
! { dg-final { cleanup-tree-dump "original" } }