diff options
Diffstat (limited to 'tests/headers/derive-hash-struct-with-anon-struct-float.h')
-rw-r--r-- | tests/headers/derive-hash-struct-with-anon-struct-float.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/headers/derive-hash-struct-with-anon-struct-float.h b/tests/headers/derive-hash-struct-with-anon-struct-float.h new file mode 100644 index 00000000..2b76cd23 --- /dev/null +++ b/tests/headers/derive-hash-struct-with-anon-struct-float.h @@ -0,0 +1,9 @@ +// bindgen-flags: --with-derive-hash +// +/// A struct containing a struct containing a float that cannot derive hash. +struct foo { + struct { + float a; + float b; + } bar; +}; |