hanchenye-llvm-project/llvm/test/FrontendC++/2003-10-17-BoolBitfields.cpp

12 lines
139 B
C++

// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
struct test {
bool A : 1;
bool B : 1;
};
void foo(test *T) {
T->B = true;
}