aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/builtins.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/builtins.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/builtins.c')
-rw-r--r--test/CodeGen/builtins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/builtins.c b/test/CodeGen/builtins.c
index b4db48ae4b..11bcc14249 100644
--- a/test/CodeGen/builtins.c
+++ b/test/CodeGen/builtins.c
@@ -1,7 +1,7 @@
// RUN: clang-cc -emit-llvm -o %t %s
// RUN: not grep __builtin %t
-#include <stdio.h>
+int printf(const char *, ...);
void p(char *str, int x) {
printf("%s: %d\n", str, x);