Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2006-09-11-BitfieldRefCrash.c
blob3d45d8bfd202da0d4307f6986a1591d41e5fde43
1 // RUN: %clang_cc1 %s -emit-llvm -o -
2 // PR906
4 struct state_struct {
5 unsigned long long phys_frame: 50;
6 unsigned valid : 2;
7 } s;
9 int mem_access(struct state_struct *p) {
10 return p->valid;