PR ada/62235
[official-gcc.git] / gcc / testsuite / gnat.dg / incomplete5.ads
blob0e0394212c8d6ea45078866b30c46ce51cd2ae46
1 with Incomplete5_Pkg;
3 package Incomplete5 is
5 type Rec1 is private;
7 type Rec2 is private;
9 package My_G is new Incomplete5_Pkg (Rec1);
11 use My_G;
13 function Get (O: Base_Object) return Integer;
15 private
17 type Rec1 is record
18 I : Integer;
19 end record;
21 type Rec2 is record
22 A : Access_Type;
23 end record;
25 end Incomplete5;