summaryrefslogtreecommitdiff
path: root/tests/headers/union_with_anon_struct.h
diff options
context:
space:
mode:
authorZhiting Zhu <zzhu@mozilla.com>2017-08-10 16:32:10 -0700
committerZhiting Zhu <zzhu@mozilla.com>2017-08-14 10:19:14 -0700
commitbdc197ba65e70ee5bcdfe0b2211d2ef39c486e57 (patch)
treefc00164f9ed00a2deb8242e2c844bc7963d376b9 /tests/headers/union_with_anon_struct.h
parentd98535a39721a4be7a0e3d0a6171e96c52b646b1 (diff)
Union related tests for derive PartialEq
Diffstat (limited to 'tests/headers/union_with_anon_struct.h')
-rw-r--r--tests/headers/union_with_anon_struct.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/headers/union_with_anon_struct.h b/tests/headers/union_with_anon_struct.h
index 8f15eb49..5968a48c 100644
--- a/tests/headers/union_with_anon_struct.h
+++ b/tests/headers/union_with_anon_struct.h
@@ -1,5 +1,5 @@
-// bindgen-flags: --with-derive-hash
-
+// bindgen-flags: --with-derive-hash --with-derive-partialeq
+//
union foo {
struct {
unsigned int a;