summaryrefslogtreecommitdiff
path: root/tests/headers/struct_with_anon_union.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/struct_with_anon_union.h')
-rw-r--r--tests/headers/struct_with_anon_union.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/headers/struct_with_anon_union.h b/tests/headers/struct_with_anon_union.h
new file mode 100644
index 00000000..3a92b940
--- /dev/null
+++ b/tests/headers/struct_with_anon_union.h
@@ -0,0 +1,6 @@
+struct foo {
+ union {
+ unsigned int a;
+ unsigned short b;
+ } bar;
+};