Fix the new pr83361.c testcase
[official-gcc.git] / gcc / testsuite / gnat.dg / controlled5_pkg.ads
blob53720398753bc8e8200bcd7f2bb4885f148a8dcf
1 with Ada.Finalization; use Ada.Finalization;
3 package Controlled5_Pkg is
5 type Root is tagged private;
7 type Inner is new Ada.Finalization.Controlled with null record;
9 type T_Root_Class is access all Root'Class;
11 function Dummy (I : Integer) return Root'Class;
13 private
15 type Root is tagged record
16 F2 : Inner;
17 end record;
19 end Controlled5_Pkg;