diff options
author | Zhiting Zhu <zzhu@mozilla.com> | 2017-08-08 16:06:26 -0700 |
---|---|---|
committer | Zhiting Zhu <zzhu@mozilla.com> | 2017-08-09 15:34:21 -0700 |
commit | b4895d96698504dc28dfa64c4c4e4c3f3714a3c8 (patch) | |
tree | 2dc33b49a35db14adcec8ba88bae9db391753920 /tests/headers/derive-hash-struct-with-float-array.h | |
parent | 3edb811aef594b8731ca2a4878a3fb2a6f3ae61b (diff) |
Small dedicated tests for derive Hash
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]; +}; |