mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
new testcase for PR906
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30267 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
63d3220dae
commit
3697e307d7
12
test/CFrontend/2006-09-11-BitfieldRefCrash.c
Normal file
12
test/CFrontend/2006-09-11-BitfieldRefCrash.c
Normal 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user