1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-29 23:12:55 +01:00
llvm-mirror/test/Regression/CFrontend/2003-08-29-BitFieldStruct.c

14 lines
220 B
C
Raw Normal View History

2004-11-06 23:41:00 +01:00
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2003-08-29 23:57:18 +02:00
struct Word {
short bar;
short baz;
2003-08-29 23:57:18 +02:00
int final:1;
short quux;
} *word_limit;
void foo ()
{
word_limit->final = (word_limit->final && word_limit->final);
}