repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Silence -Wunused-variable in release builds.
[llvm/stm8.git]
/
test
/
FrontendC++
/
2006-11-20-GlobalSymbols.cpp
blob
c4afd32b66d28eac45f2c7a8f0e5402c8b46d462
1
// PR1013
2
// Check to make sure debug symbols use the correct name for globals and
3
// functions. Will not assemble if it fails to.
4
// RUN: %llvmgcc_only -O0 -g -c %s
5
6
int
foo
__asm__
(
"f
\001
oo"
);
7
8
int
bar
() {
9
return
foo
;
10
}