repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2006-09-11-BitfieldRefCrash.c
blob
3d45d8bfd202da0d4307f6986a1591d41e5fde43
1
// RUN: %clang_cc1 %s -emit-llvm -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