diff options
Diffstat (limited to 'tests/headers/derive-hash-struct-with-float-array.h')
-rw-r--r-- | tests/headers/derive-hash-struct-with-float-array.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/headers/derive-hash-struct-with-float-array.h b/tests/headers/derive-hash-struct-with-float-array.h new file mode 100644 index 00000000..53f0c79d --- /dev/null +++ b/tests/headers/derive-hash-struct-with-float-array.h @@ -0,0 +1,6 @@ +// bindgen-flags: --with-derive-hash +// +/// A struct containing an array of floats that cannot derive hash. +struct foo { + float bar[3]; +}; |