summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/union_with_anon_unnamed_union.h
blob: dbccd5b52f44ca98d36acabfb79ca4fd4feb66f3 (plain)
1
2
3
4
5
6
7
8
9
// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
//
union foo {
    unsigned int a;
    union {
        unsigned short b;
        unsigned char c;
    };
};