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