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
/
2003-08-29-BitFieldStruct.c
blob
b0efd5ee1f19b115d36530d383e89c8a16e19e49
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
struct
Word
{
4
short
bar
;
5
short
baz
;
6
int
final
:
1
;
7
short
quux
;
8
} *
word_limit
;
9
10
void
foo
(
void
)
11
{
12
word_limit
->
final
= (
word_limit
->
final
&&
word_limit
->
final
);
13
}