[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-08-30-AggregateInitializer.c

Chris Lattner lattner at cs.uiuc.edu
Sat Aug 30 15:58:01 PDT 2003


Changes in directory llvm/test/Regression/CFrontend:

2003-08-30-AggregateInitializer.c added (r1.1)

---
Log message:

New, HARD, bitfield testcase


---
Diffs of the changes:

Index: llvm/test/Regression/CFrontend/2003-08-30-AggregateInitializer.c
diff -c /dev/null llvm/test/Regression/CFrontend/2003-08-30-AggregateInitializer.c:1.1
*** /dev/null	Sat Aug 30 15:57:59 2003
--- llvm/test/Regression/CFrontend/2003-08-30-AggregateInitializer.c	Sat Aug 30 15:57:49 2003
***************
*** 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 };
+ 
+ 





More information about the llvm-commits mailing list