PR ipa/83051
[official-gcc.git] / gcc / testsuite / gnat.dg / aliasing3_pkg.ads
blob4704a7c53963dbd8f0c592e2162c17ad0a65a221
1 package Aliasing3_Pkg is
3 type Arr is array (1..3) of Integer;
5 procedure Test (A : Arr);
6 pragma Inline (Test);
8 type My_Arr is new Arr;
10 type Rec is record
11 A : My_Arr;
12 end record;
14 type Ptr is access all Rec;
16 Block : aliased Rec;
17 Pointer : Ptr := Block'Access;
19 end Aliasing3_Pkg;