summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/union_with_nesting.h
blob: cd907d57f28d3fc0fa54458cd43556eb8c70842c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
union foo {
    unsigned int a;
    struct {
        union {
            unsigned short b1;
            unsigned short b2;
        };

        union {
            unsigned short c1;
            unsigned short c2;
        };
    };
};