Corrected date in changelog
[official-gcc.git] / gcc / testsuite / gnat.dg / discr29.ads
blob6bbf16725edf2850ca8799bc9331021b1b5fa173
1 package Discr29 is
3 type Rec1 is record
4 I1 : Integer;
5 I2 : Integer;
6 I3 : Integer;
7 end record;
9 type Rec2 is tagged record
10 I1 : Integer;
11 I2 : Integer;
12 end record;
14 type Rec3 (D : Boolean) is record
15 case D is
16 when True => A : Rec1;
17 when False => B : Rec2;
18 end case;
19 end record;
21 procedure Proc (R : out Rec3);
23 Tmp : Rec2;
25 end Discr29;