summaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2003-08-29-BitFieldStruct.c
blob: f2a443ff57fdf65ad9aae171bae1538e4f9555dc (plain)
1
2
3
4
5
6
7
8
9
10
11
struct Word {
  short bar;
  short baz;
  int final:1;
  short quux;
} *word_limit;

void foo ()
{
  word_limit->final = (word_limit->final && word_limit->final);
}