summaryrefslogtreecommitdiff
path: root/tests/headers/union_with_anon_struct.h
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_with_anon_struct.h
parent923ee36d64039b83b0a9ffce7b92e1602fc79abd (diff)
Union related tests for derive Hash
Diffstat (limited to 'tests/headers/union_with_anon_struct.h')
-rw-r--r--tests/headers/union_with_anon_struct.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/headers/union_with_anon_struct.h b/tests/headers/union_with_anon_struct.h
index 7f8dec95..48adae8b 100644
--- a/tests/headers/union_with_anon_struct.h
+++ b/tests/headers/union_with_anon_struct.h
@@ -1,3 +1,5 @@
+// bindgen-flags: --with-derive-hash
+//
union foo {
struct {
unsigned int a;