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