1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-01-04 05:31:06 +00:00
llvm-6502/test/FrontendC/2006-09-11-BitfieldRefCrash.c

13 lines
188 B
C
Raw Normal View History

// 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;
}