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

12 lines
136 B
C++

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