llvm/clang/test/CodeGen/2003-08-29-BitFieldStruct.c

// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

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

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