3 ! PR 46174: [OOP] ALLOCATE with SOURCE: Deep copy missing
5 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
11 type, extends(t) :: t2
12 integer, allocatable :: a(:)
15 class(t), allocatable :: x, y
22 x%a = [ (i, i = 1,10) ]
32 x%a = [ (i, i = 11,20) ]
41 if (any (y%a /= [ (i, i = 1,10) ])) call abort()