summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/union_with_anon_union_1_0.h
blob: 28a7231dbfe13b0e64fbbdf070d12fdf9d53acd3 (plain)
1
2
3
4
5
6
7
8
// bindgen-flags: --rust-target 1.0 --with-derive-hash --with-derive-partialeq --with-derive-eq

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