PR target/84336
[official-gcc.git] / gcc / testsuite / gnat.dg / renaming11.ads
blobd3dda72ede7a6806ffa199ccd8a904ca116a4f43
1 package Renaming11 is
3 subtype Index_Type is Integer range 1..10;
5 type Arr is array (Index_Type range <>) of Integer;
7 type Rec (Min : Index_Type; Max : Index_Type) is record
8 A : Arr (Min .. Max);
9 end record;
11 type Ptr1 is access Rec;
13 type Ptr2 is access Ptr1;
15 type Ptr3 is access Ptr2;
17 function F (Arg : Ptr3) return Integer;
19 end Renaming11;