1 ! This checks that the "z = y" assignment is not considered copyable, as the
2 ! array is of a derived type containing allocatable components. Hence, we
3 ! we should expand the scalarized loop, which contains *two* memcpy calls.
5 ! { dg-options "-O2 -fdump-tree-original" }
8 integer, allocatable
:: i(:)
12 type (a
), allocatable
:: at(:)
19 ! { dg-final { scan-tree-dump-times "memcpy" 2 "original" } }
20 ! { dg-final { cleanup-tree-dump "original" } }