Fix broken MinGW build of gcc.c
[official-gcc.git] / gcc / testsuite / gnat.dg / alignment7.adb
blob5a3b8eb43c81f05433dc33b263a6f056e5ee84f6
1 -- { dg-do run }
3 with System;
5 procedure Alignment7 is
7 type R is record
8 I : Integer;
9 F : Long_Float;
10 end record;
11 for R'Alignment use 8;
13 procedure Q (A : System.Address) is
14 F : Long_Float;
15 for F'Address use A;
16 begin
17 F := 0.0;
18 end;
20 V : R;
22 begin
23 Q (V.F'Address);
24 end;