projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
testcases for function linkage
[oota-llvm.git]
/
test
/
C++Frontend
/
2004-11-27-EmitsUnusedInlineFunctions.cpp
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 '^int .getchar'
6
7
#include <stdio.h>