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