Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2008-02-07-bitfield-bug.c
blob73e31e75e97952366364acc547d7d8090c78d5bf
1 // RUN: %clang_cc1 %s -emit-llvm -o %t
2 // PR1990
4 struct test {
5 char a[3];
6 unsigned char b:1;
7 };
9 void f(struct test *t) {
10 t->b = 1;