1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// bindgen-flags: --rust-target 1.0 --with-derive-hash --with-derive-partialeq --with-derive-eq union foo { unsigned int a; struct { union { unsigned short b1; unsigned short b2; }; union { unsigned short c1; unsigned short c2; }; }; };