repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove wasteful caching. This isn't needed for correctness because any function
[llvm.git]
/
test
/
FrontendC
/
2005-12-04-AttributeUsed.c
blob
f47e977f48611091976501c0e8e815a8cb1bc008
1
// RUN: %llvmgcc %s -S -o - | llvm-as | llvm-dis | \
2
// RUN: grep llvm.used | grep foo | grep X
3
4
int
X
__attribute__
((
used
));
5
int
Y
;
6
7
__attribute__
((
used
))
void
foo
() {}
8