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-anon-struct-float.h | |
parent | 3edb811aef594b8731ca2a4878a3fb2a6f3ae61b (diff) |
Small dedicated tests for derive Hash
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; +}; |