Fix broken MinGW build of gcc.c
[official-gcc.git] / gcc / testsuite / gnat.dg / aggr20.ads
blob6405cae9dfb550a25f885869ae7805d2b2a98235
1 with Aggr20_Pkg; use Aggr20_Pkg;
2 with System;
4 package Aggr20 is
6 type Rec1 is record
7 Address : System.Address;
8 end record;
10 Nil_Rec1 : constant Rec1 := (Address => Default_Nil_Address);
12 type Rec2 is record
13 Callback : Rec1;
14 end record;
16 Nil_Rec2 : constant Rec2 := (Callback => Nil_Rec1);
18 type Rec3 is record
19 Callback : Rec2;
20 end record;
22 procedure Proc (R : out Rec3);
24 end Aggr20;