From df9791912a4bb20b8bbf9357716db8246c31300a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 30 Aug 2003 20:57:49 +0000 Subject: [PATCH] New, HARD, bitfield testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8227 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2003-08-30-AggregateInitializer.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/CFrontend/2003-08-30-AggregateInitializer.c diff --git a/test/CFrontend/2003-08-30-AggregateInitializer.c b/test/CFrontend/2003-08-30-AggregateInitializer.c new file mode 100644 index 00000000000..7ae173df92f --- /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 }; + + -- 2.34.1