[llvm-commits] CVS: llvm/test/Regression/C++Frontend/2003-10-17-BoolBitfields.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Oct 17 00:22:02 PDT 2003
Changes in directory llvm/test/Regression/C++Frontend:
2003-10-17-BoolBitfields.cpp added (r1.1)
---
Log message:
New testcase for C++ frontend crash
---
Diffs of the changes: (+9 -0)
Index: llvm/test/Regression/C++Frontend/2003-10-17-BoolBitfields.cpp
diff -c /dev/null llvm/test/Regression/C++Frontend/2003-10-17-BoolBitfields.cpp:1.1
*** /dev/null Fri Oct 17 00:21:01 2003
--- llvm/test/Regression/C++Frontend/2003-10-17-BoolBitfields.cpp Fri Oct 17 00:20:51 2003
***************
*** 0 ****
--- 1,9 ----
+ struct test {
+ bool A : 1;
+ bool B : 1;
+ };
+
+ void foo(test *T) {
+ T->B = true;
+ }
+
More information about the llvm-commits
mailing list