view gcc/testsuite/gnat.dg/controlled3.ads @ 138:fc828634a951

merge
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 08 Nov 2018 14:17:14 +0900
parents 04ced10e8804
children
line wrap: on
line source

with Ada.Finalization; use Ada.Finalization;
package controlled3 is
   type Test is new Controlled with null record;
   procedure Add_Test (T : access Test'Class);
   
   type Test_Case1 is new Test with null record;
   type Test_Suite is new Test with null record;
   
   type Test_Case is new Test_Case1 with record
      Link_Under_Test : Natural;
   end record;
end;