summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/controlled1.ads
blob: cca8aa76e1d5a3d42bf5946172df116847a24cbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

with Ada.Finalization; use Ada.Finalization;
package controlled1 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;