1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/test/FrontendC++/2003-10-17-BoolBitfields.cpp

12 lines
136 B
C++
Raw Normal View History

// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2004-11-06 23:29:57 +01:00
struct test {
bool A : 1;
bool B : 1;
};
void foo(test *T) {
T->B = true;
}