llvm-mirror/test/CFrontend/2006-09-11-BitfieldRefCrash.c
2007-01-17 07:59:14 +00:00

13 lines
188 B
C

// RUN: %llvmgcc %s -S -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;
}