Testcase for (llvm-gcc) 81399. Adjust an older
[oota-llvm.git] / test / FrontendC / 2003-08-29-BitFieldStruct.c
1 // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2
3 struct Word {
4   short bar;
5   short baz;
6   int final:1;
7   short quux;
8 } *word_limit;
9
10 void foo ()
11 {
12   word_limit->final = (word_limit->final && word_limit->final);
13 }