summaryrefslogtreecommitdiff
path: root/tests/headers/union_fields.hpp
diff options
context:
space:
mode:
authorzzhu <zzhu@mozilla.com>2017-08-02 11:23:27 -0700
committerZhiting Zhu <zzhu@mozilla.com>2017-08-09 15:19:00 -0700
commite5e69058910dcad1680754a2932c11c931d9ab2d (patch)
tree2a72a185b21f1f18d2356a91c5314be9303875f2 /tests/headers/union_fields.hpp
parent923ee36d64039b83b0a9ffce7b92e1602fc79abd (diff)
Union related tests for derive Hash
Diffstat (limited to 'tests/headers/union_fields.hpp')
-rw-r--r--tests/headers/union_fields.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/headers/union_fields.hpp b/tests/headers/union_fields.hpp
index aec3a7fd..cc8fcbe4 100644
--- a/tests/headers/union_fields.hpp
+++ b/tests/headers/union_fields.hpp
@@ -1,3 +1,5 @@
+// bindgen-flags: --with-derive-hash
+//
typedef union {
int mInt;
float mFloat;