aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/constructor-attribute.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/constructor-attribute.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/constructor-attribute.c')
-rw-r--r--test/CodeGen/constructor-attribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/constructor-attribute.c b/test/CodeGen/constructor-attribute.c
index 69e7063eab..b715201dc5 100644
--- a/test/CodeGen/constructor-attribute.c
+++ b/test/CodeGen/constructor-attribute.c
@@ -4,7 +4,7 @@
// RUN: grep -e "global_ctors.*@C" %t
// RUN: grep -e "global_dtors.*@D" %t
-#include <stdio.h>
+int printf(const char *, ...);
void A() __attribute__((constructor));
void B() __attribute__((destructor));