summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/union_bitfield_1_0.h
blob: 06b61ad7719817307e29d6a39cc6beaab0f1118d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// bindgen-flags: --rust-target 1.0 --with-derive-hash --with-derive-partialeq --with-derive-eq --impl-partialeq

union U4 {
    unsigned derp : 1;
};

union B {
    unsigned foo : 31;
    unsigned char bar : 1;
};

union HasBigBitfield {
    __int128 x : 128;
};