1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
llvm-mirror/test/Regression/CFrontend/2006-09-11-BitfieldRefCrash.c
Chris Lattner 0208f77fb0 new testcase for PR906
llvm-svn: 30267
2006-09-11 22:48:23 +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;
}