New testcase

llvm-svn: 18284
This commit is contained in:
Chris Lattner 2004-11-27 20:31:59 +00:00
parent d2c3a1a8d4
commit 94336bd4c7
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
// The C++ front-end was emitting WAY too many inline functions. This test
// verifies that it does not emit the body of getchar, because it is not used.
// This corresponds to PR459
// RUN: %llvmgxx %s -S -o - | not grep '^int .getchar'
#include <stdio.h>