3 ! PR 41714: [OOP] ALLOCATE SOURCE= does not properly copy the value from SOURCE
5 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
10 type, extends(t) :: t2
14 class(t), allocatable :: a
15 allocate(a, source=t2(1,2))
17 if(a%i /= 1) call abort()
21 if(a%j /= 2) call abort()