minix/external/bsd/llvm/dist/clang/test/CodeGen/2006-09-11-BitfieldRefCrash.c

13 lines
198 B
C
Raw Normal View History

// RUN: %clang_cc1 %s -emit-llvm -o -
// PR906
struct state_struct {
unsigned long long phys_frame: 50;
unsigned valid : 2;
} s;
int mem_access(struct state_struct *p) {
return p->valid;
}