Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gnat.dg / oconst2.ads
blob23e57a74cc2ea00ffdc428b06e56c96bd95ff7d3
1 package OCONST2 is
3 type u8 is mod 2**8;
5 type Base is record
6 i1 : Integer;
7 end Record;
9 type R is record
10 u : u8;
11 b : Base;
12 end record;
14 for R use record
15 u at 0 range 0 .. 7;
16 b at 1 range 0 .. 31; -- aligned SImode bitfield
17 end record;
19 My_R : constant R := (u=>1, b=>(i1=>2));
21 procedure check (arg : R);
23 end;