summaryrefslogtreecommitdiff
path: root/tests/headers/union_with_anon_struct.h
blob: 5968a48c48c3d644ad6ee8d23e88b9a2353b235f (plain)
1
2
3
4
5
6
7
8
// bindgen-flags: --with-derive-hash --with-derive-partialeq
//
union foo {
    struct {
        unsigned int a;
        unsigned int b;
    } bar;
};