repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
FrontendC
/
2005-12-04-AttributeUsed.c
blob
33e27e89f4c8116761a36fdfded8474244101094
1
// RUN: %llvmgcc %s -S -emit-llvm -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