summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/controlled3.ads
blob: 4dee28a3cdcd30c58ed98eb26c8afb49d1a2e547 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;