llvm-project/clang/test/CodeGen/2008-02-07-bitfield-bug.c

12 lines
139 B
C

// RUN: clang-cc %s -emit-llvm -o %t
// PR1990
struct test {
char a[3];
unsigned char b:1;
};
void f(struct test *t) {
t->b = 1;
}