1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o - 2*f4a2713aSLionel Sambuc // PR906 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc struct state_struct { 5*f4a2713aSLionel Sambuc unsigned long long phys_frame: 50; 6*f4a2713aSLionel Sambuc unsigned valid : 2; 7*f4a2713aSLionel Sambuc } s; 8*f4a2713aSLionel Sambuc mem_access(struct state_struct * p)9*f4a2713aSLionel Sambucint mem_access(struct state_struct *p) { 10*f4a2713aSLionel Sambuc return p->valid; 11*f4a2713aSLionel Sambuc } 12*f4a2713aSLionel Sambuc 13