repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Improve compatibility with older versions of Windows.
[llvm/msp430.git]
/
test
/
FrontendC
/
2006-09-11-BitfieldRefCrash.c
blob
d06cc3afbf3d73a91af9c80e68e5ce2bd07c51e6
1
// RUN: %llvmgcc %s -S -o -
2
// PR906
3
4
struct
state_struct
{
5
unsigned long long
phys_frame
:
50
;
6
unsigned
valid
:
2
;
7
}
s
;
8
9
int
mem_access
(
struct
state_struct
*
p
) {
10
return
p
->
valid
;
11
}
12