new testcase for PR906

llvm-svn: 30267
This commit is contained in:
Chris Lattner 2006-09-11 22:48:23 +00:00
parent d28627009a
commit 3592523342
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
// 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;
}