Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gnat.dg / oconst1.ads
blob93b35f79bae622f8e41dd83add161e1eaa854219
1 package OCONST1 is
3 type u8 is mod 2**8;
5 type Base is record
6 i1 : Integer;
7 i2 : Integer;
8 i3 : Integer;
9 end Record;
11 type R is record
12 u : u8;
13 b : Base;
14 end record;
16 for R use record
17 u at 0 range 0 .. 7;
18 b at 1 range 0 .. 95; -- BLKmode bitfield
19 end record;
21 My_R : constant R := (u=>1, b=>(2, 3, 4));
23 procedure check (arg : R);
25 end;