3 ! PR 57562: [OOP] ICE due to extended derived type with PARAMETER attribute
5 ! Contributed by <helvio.vairinhos@gmail.com>
11 type, extends(Parent
) :: Child
12 integer :: member2
= 0
15 type, extends(Child
) :: Grandchild
16 integer :: member3
= 0
19 type(Grandchild
), parameter :: object
= Grandchild(23, 42, -99)
21 if (object
%member1
/= 23) call abort
22 if (object
%member2
/= 42) call abort
23 if (object
%member3
/= -99) call abort