Revision 9d2cca71cf54ddfebda26e247d82ae7b71d9e03c authored by Pranav Gokhale on 30 June 2018, 18:56:21 UTC, committed by Pranav Gokhale on 30 June 2018, 18:56:21 UTC
1 parent 720b0db
Raw File
2008-02-07-bitfield-bug.c
// RUN: %clang_cc1 %s -emit-llvm -o %t
// PR1990

struct test {
  char a[3];
  unsigned char b:1;
};

void f(struct test *t) {
  t->b = 1;
}
back to top