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++
/
2004-11-27-EmitsUnusedInlineFunctions.cpp
blob
794b7d7fd8b718a6b0baa953478cc667df565774
1
// The C++ front-end was emitting WAY too many inline functions. This test
2
// verifies that it does not emit the body of getchar, because it is not used.
3
// This corresponds to PR459
4
5
// RUN: %llvmgxx %s -S -o - | not grep {^i32 .getchar}
6
7
#include <stdio.h>