1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/C++Frontend/2003-10-17-BoolBitfields.cpp
2007-01-17 07:59:14 +00:00

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;
}