[llvm-commits] CVS: llvm/test/Regression/CFrontend/2004-03-07-BitfieldCrash.c
Chris Lattner
lattner at cs.uiuc.edu
Sun Mar 7 23:36:01 PST 2004
Changes in directory llvm/test/Regression/CFrontend:
2004-03-07-BitfieldCrash.c added (r1.1)
---
Log message:
New testcase for PR269
---
Diffs of the changes: (+11 -0)
Index: llvm/test/Regression/CFrontend/2004-03-07-BitfieldCrash.c
diff -c /dev/null llvm/test/Regression/CFrontend/2004-03-07-BitfieldCrash.c:1.1
*** /dev/null Sun Mar 7 23:35:22 2004
--- llvm/test/Regression/CFrontend/2004-03-07-BitfieldCrash.c Sun Mar 7 23:35:12 2004
***************
*** 0 ****
--- 1,11 ----
+
+ struct s {
+ unsigned long long u33: 33;
+ unsigned long long u40: 40;
+ };
+
+ struct s a = { 1, 2};
+
+ int foo() {
+ return a.u40;
+ }
More information about the llvm-commits
mailing list