1 // bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
2 //
3 struct bitfield {
4     unsigned short
5     a   :1,
6     b   :1,
7     c   :1,
8         :1,
9         :2,
10     d   :2;
11     int e;
12     unsigned int f : 2;
13     unsigned int g : 32;
14 };
15