PR target/84336
[official-gcc.git] / gcc / testsuite / gnat.dg / nested_float_packed.ads
blob46b9e803fcd58bd6475e7cc30760b3c5125b8d42
1 package Nested_Float_Packed is
3 type Float_Type is record
4 Value : Float;
5 Valid : Boolean;
6 end record;
8 type Data_Type is record
9 Data : Float_Type;
10 end record;
12 Default_Data : constant Data_Type :=
13 (Data => (Value => 1.0, Valid => False));
15 type Range_Type is (RV1, RV2, RV3);
16 for Range_Type use (1, 2, 3);
18 Data_Block : array (Range_Type)
19 of Data_Type := (others => Default_Data);
20 end;