diff options
Diffstat (limited to 'tests/headers/union_with_anon_struct_bitfield_1_0.h')
-rw-r--r-- | tests/headers/union_with_anon_struct_bitfield_1_0.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/headers/union_with_anon_struct_bitfield_1_0.h b/tests/headers/union_with_anon_struct_bitfield_1_0.h new file mode 100644 index 00000000..f73591ec --- /dev/null +++ b/tests/headers/union_with_anon_struct_bitfield_1_0.h @@ -0,0 +1,9 @@ +// bindgen-flags: --rust-target 1.0 --with-derive-hash + +union foo { + int a; + struct { + int b : 7; + int c : 25; + }; +}; |