1 2 3 4 5 6 7 8 9 10 11 12
with Task3_Pkg2; use Task3_Pkg2; package Task3 is type Child is new Root with null record; type Child_Ptr is access Child; type Child_Wrapper is record Ptr : Child_Ptr := null; end record; procedure Destroy (Obj : in out Child_Wrapper); end Task3;