llvm.org GIT mirror llvm / 2fdd3c0 test / CFrontend / 2003-08-29-BitFieldStruct.c
2fdd3c0

Tree @2fdd3c0 (Download .tar.gz)

2003-08-29-BitFieldStruct.c @2fdd3c0raw · history · blame

struct Word {
  short bar;
  short baz;
  int final:1;
  short quux;
} *word_limit;

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