[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-08-29-StructLayoutBug.c

Chris Lattner lattner at cs.uiuc.edu
Fri Aug 29 17:47:01 PDT 2003


Changes in directory llvm/test/Regression/CFrontend:

2003-08-29-StructLayoutBug.c added (r1.1)

---
Log message:

Yet another bit-field bug


---
Diffs of the changes:

Index: llvm/test/Regression/CFrontend/2003-08-29-StructLayoutBug.c
diff -c /dev/null llvm/test/Regression/CFrontend/2003-08-29-StructLayoutBug.c:1.1
*** /dev/null	Fri Aug 29 17:46:44 2003
--- llvm/test/Regression/CFrontend/2003-08-29-StructLayoutBug.c	Fri Aug 29 17:46:34 2003
***************
*** 0 ****
--- 1,8 ----
+ struct foo {
+   unsigned int I:1;
+   unsigned char J[1];
+   unsigned int K:1;
+  };
+ 
+ void test(struct foo *X) {}
+ 





More information about the llvm-commits mailing list