2 ! Tests the fix for pr63553 in which the class container was being
3 ! assigned to derived types, rather than the data.
5 ! Contributed by <patnel97269-gfortran@yahoo.fr>
12 type,extends(mother) :: child
21 class(mother),allocatable :: cm
26 if (tm%i .ne. cm%i) STOP 1
30 class(mother),allocatable :: cm,cm2
39 if (cm2%i .ne. cm%i) STOP 2