blob: 794b7d7fd8b718a6b0baa953478cc667df565774 [file] [log] [blame]
Chris Lattner65de86b2004-11-27 20:31:59 +00001// 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
Reid Spencer358f3272007-04-15 20:41:31 +00005// RUN: %llvmgxx %s -S -o - | not grep {^i32 .getchar}
Chris Lattner65de86b2004-11-27 20:31:59 +00006
7#include <stdio.h>