PR target/84336
[official-gcc.git] / gcc / testsuite / gnat.dg / discr41.ads
blob4af8f63853d2bb6e3da66fdc16fac2f907b75ded
1 package Discr41 is
3 type Vector is array (Positive range <>) of Long_Float;
5 type Date is record
6 LF : Long_Float := 0.0;
7 end record;
9 type Date_Vector is array (Positive range <>) of Date;
11 type Rec (D : Natural) is record
12 B1 : Boolean := False;
13 DL : Date_Vector (1 .. D);
14 VL : Vector (1 .. D) := (others => 0.0);
15 B2 : Boolean := True;
16 end record;
18 function F return Rec;
20 end Discr41;