xref: /aosp_15_r20/external/clang/test/CodeGen/2008-02-07-bitfield-bug.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 %s -emit-llvm -o %t
2 // PR1990
3 
4 struct test {
5   char a[3];
6   unsigned char b:1;
7 };
8 
f(struct test * t)9 void f(struct test *t) {
10   t->b = 1;
11 }
12