aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/predefined-expr.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-17 08:57:36 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-17 08:57:36 +0000
commit23afaad895486d4a9ea672f497b63ebc4c588955 (patch)
tree75ab5d372d092a24f06d9f39803276bba5e20b57 /test/CodeGen/predefined-expr.c
parentb1295dace2e29a2391aad86b877ef3fd5545ddea (diff)
Don't #include <stdio.h> when tests don't need it, or use clang instead of clang-cc when they do.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/predefined-expr.c')
-rw-r--r--test/CodeGen/predefined-expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/predefined-expr.c b/test/CodeGen/predefined-expr.c
index 9b645931a4..1a5dcb4fc6 100644
--- a/test/CodeGen/predefined-expr.c
+++ b/test/CodeGen/predefined-expr.c
@@ -9,7 +9,7 @@
// CHECK: @__func__.staticFunction = private constant [15 x i8] c"staticFunction\00"
// CHECK: @__PRETTY_FUNCTION__.staticFunction = private constant [22 x i8] c"void staticFunction()\00"
-#include <stdio.h>
+int printf(const char *, ...);
void plainFunction() {
printf("__func__ %s\n", __func__);