summaryrefslogtreecommitdiff
path: root/tests/headers/union_with_anon_struct.h
blob: 8f15eb494f30edca9a3a9ac03fc9f7c2fa1ce243 (plain)
1
2
3
4
5
6
7
8
// bindgen-flags: --with-derive-hash

union foo {
    struct {
        unsigned int a;
        unsigned int b;
    } bar;
};