llvm/test/C++Frontend/2003-10-17-BoolBitfields.cpp
Chris Lattner 627ecead39 New testcase for C++ frontend crash
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9192 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-17 05:20:51 +00:00

10 lines
84 B
C++

struct test {
bool A : 1;
bool B : 1;
};
void foo(test *T) {
T->B = true;
}