summaryrefslogtreecommitdiff
path: root/tests/headers/derive-hash-struct-with-float-array.h
diff options
context:
space:
mode:
authorZhiting Zhu <zhitingz@cs.utexas.edu>2017-08-16 21:26:01 -0500
committerZhiting Zhu <zhitingz@cs.utexas.edu>2017-08-21 16:14:41 -0500
commitff9d000435b84220d91347592282a76cbf4942e2 (patch)
tree080cb3c54b572fab3a0e4f7a8c059155a27ff378 /tests/headers/derive-hash-struct-with-float-array.h
parent3fc501f93fa9b5a19f97b7a7a2a3625616af7128 (diff)
Small tests for derive Eq
Diffstat (limited to 'tests/headers/derive-hash-struct-with-float-array.h')
-rw-r--r--tests/headers/derive-hash-struct-with-float-array.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/headers/derive-hash-struct-with-float-array.h b/tests/headers/derive-hash-struct-with-float-array.h
index 53f0c79d..a34904f7 100644
--- a/tests/headers/derive-hash-struct-with-float-array.h
+++ b/tests/headers/derive-hash-struct-with-float-array.h
@@ -1,6 +1,6 @@
-// bindgen-flags: --with-derive-hash
+// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
//
-/// A struct containing an array of floats that cannot derive hash.
+/// A struct containing an array of floats that cannot derive hash/eq but can derive partialeq.
struct foo {
float bar[3];
};