aboutsummaryrefslogtreecommitdiff
path: root/clang/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
commitfeedba68b542fb4797875340b22cd81efb9cd0f4 (patch)
tree8376a3dc0d8b7e99ed05583aaf90896a73a81471 /clang/test/CodeGen/predefined-expr.c
parentf85fabec35026158a8a5490100cf2b07c93c7a43 (diff)
downloadllvm-feedba68b542fb4797875340b22cd81efb9cd0f4.zip
llvm-feedba68b542fb4797875340b22cd81efb9cd0f4.tar.gz
llvm-feedba68b542fb4797875340b22cd81efb9cd0f4.tar.bz2
Don't #include <stdio.h> when tests don't need it, or use clang instead of clang-cc when they do.
llvm-svn: 89070
Diffstat (limited to 'clang/test/CodeGen/predefined-expr.c')
-rw-r--r--clang/test/CodeGen/predefined-expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/predefined-expr.c b/clang/test/CodeGen/predefined-expr.c
index 9b64593..1a5dcb4 100644
--- a/clang/test/CodeGen/predefined-expr.c
+++ b/clang/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__);