summaryrefslogtreecommitdiff
path: root/tests/headers/disable-untagged-union.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/disable-untagged-union.hpp')
-rw-r--r--tests/headers/disable-untagged-union.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/headers/disable-untagged-union.hpp b/tests/headers/disable-untagged-union.hpp
new file mode 100644
index 00000000..44623181
--- /dev/null
+++ b/tests/headers/disable-untagged-union.hpp
@@ -0,0 +1,6 @@
+// bindgen-flags: --disable-untagged-union
+
+union Foo {
+ int bar;
+ unsigned int baz;
+};