summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CFrontend/2003-08-30-AggregateInitializer.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CFrontend/2003-08-30-AggregateInitializer.c b/test/CFrontend/2003-08-30-AggregateInitializer.c
new file mode 100644
index 0000000000..7ae173df92
--- /dev/null
+++ b/test/CFrontend/2003-08-30-AggregateInitializer.c
@@ -0,0 +1,15 @@
+
+struct istruct {
+ unsigned char C;
+};
+
+struct foo {
+ unsigned int I:1;
+ struct istruct J;
+ unsigned char L[1];
+ unsigned int K:1;
+};
+
+struct foo F = { 1, { 7 }, { 123 } , 1 };
+
+