New, HARD, bitfield testcase
authorChris Lattner <sabre@nondot.org>
Sat, 30 Aug 2003 20:57:49 +0000 (20:57 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 30 Aug 2003 20:57:49 +0000 (20:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8227 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2003-08-30-AggregateInitializer.c [new file with mode: 0644]

diff --git a/test/CFrontend/2003-08-30-AggregateInitializer.c b/test/CFrontend/2003-08-30-AggregateInitializer.c
new file mode 100644 (file)
index 0000000..7ae173d
--- /dev/null
@@ -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 };
+
+