Sign in
llvm
/
clang
/
6f42893d1084a87059e7fca623dfddad0860080a
/
.
/
test
/
CodeGen
/
2006-09-11-BitfieldRefCrash.c
blob: 3d45d8bfd202da0d4307f6986a1591d41e5fde43 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -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
;
}