Fix broken MinGW build of gcc.c
[official-gcc.git] / gcc / testsuite / gnat.dg / pack16.adb
blobeb8e2f9b8d362207722c515aa346eeb7d959ee1a
1 -- { dg-do compile }
2 -- { dg-options "-gnatws" }
4 with Pack16_Pkg; use Pack16_Pkg;
6 procedure Pack16 is
8 type Sample_Table_T is array (1 .. N) of Integer;
10 type Clock_T is record
11 N_Ticks : Integer := 0;
12 end record;
14 type Sampling_Descriptor_T is record
15 Values : Sample_Table_T;
16 Valid : Boolean;
17 Tstamp : Clock_T;
18 end record;
20 pragma Pack (Sampling_Descriptor_T);
22 Sampling_Data : Sampling_Descriptor_T;
24 begin
25 null;
26 end;