2 -- { dg-options "-gnatws" }
3 -- (bits of "Header" unused)
5 procedure Nested_Agg_Bitfield_Constructor
is
7 type Uint64
is mod 2 ** 64;
8 type Uint16
is mod 2 ** 16;
10 type Time_Stamp
is record
15 type Msg_Header
is record
18 for Msg_Header
use record
19 Stamp
at 0 range 0 .. 64+16-1;
21 for Msg_Header
'Size use 80;
28 Header
at 0 range 0 .. 191;
31 M
: Msg
:= (Header
=> (Stamp
=> (2, 4)));