summaryrefslogtreecommitdiff
path: root/tests/headers/incomplete-array-padding.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/incomplete-array-padding.h')
-rw-r--r--tests/headers/incomplete-array-padding.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/headers/incomplete-array-padding.h b/tests/headers/incomplete-array-padding.h
new file mode 100644
index 00000000..3fcc4c1a
--- /dev/null
+++ b/tests/headers/incomplete-array-padding.h
@@ -0,0 +1,4 @@
+struct foo {
+ char a : 1;
+ void *b[];
+};