PR ipa/83051
[official-gcc.git] / gcc / testsuite / gnat.dg / opt9.adb
bloba0f1ac5c6896e92157603a64140c143292e019cf
1 -- { dg-do compile }
2 -- { dg-options "-gnatws -O" }
4 with Opt9_Pkg; use Opt9_Pkg;
6 procedure Opt9 is
8 type Array_T is array (1 .. N) of Integer;
10 type Clock_T is record
11 N_Ticks : Integer := 0;
12 end record;
14 type Rec is record
15 Values : Array_T;
16 Valid : Boolean;
17 Tstamp : Clock_T;
18 end record;
20 pragma Pack (Rec);
22 Data : Rec;
24 begin
25 null;
26 end;