9 // Unnamed bitfield (this will get removed).
11 uint32_t b4
__attribute__ ((aligned(16)));
25 struct MoreBits more_bits
;
27 struct ManySingleBits
{
28 uint16_t b1
: 1, b2
: 1, b3
: 1, b4
: 1, b5
: 1, b6
: 1, b7
: 1, b8
: 1,
29 b9
: 1, b10
: 1, b11
: 1, b12
: 1, b13
: 1, b14
: 1, b15
: 1, b16
: 1,
32 struct ManySingleBits many_single_bits
;
34 struct LargePackedBits
{
37 } __attribute__((packed
));
42 uint32_t b
: 5, c
: 27;
46 int main(int argc
, char const *argv
[]) {
62 many_single_bits
.b1
= 1;
63 many_single_bits
.b5
= 1;
64 many_single_bits
.b7
= 1;
65 many_single_bits
.b13
= 1;
67 struct PackedBits packed
;
72 struct LargePackedBits large_packed
=
73 (struct LargePackedBits
){0xcbbbbaaaa, 0xdffffeeee};
74 struct LargePackedBits
*large_packed_ptr
= &large_packed
;
76 return 0; // break here