aboutsummaryrefslogtreecommitdiff
path: root/clang/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
commitfeedba68b542fb4797875340b22cd81efb9cd0f4 (patch)
tree8376a3dc0d8b7e99ed05583aaf90896a73a81471 /clang/test/CodeGen/constructor-attribute.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/constructor-attribute.c')
-rw-r--r--clang/test/CodeGen/constructor-attribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/constructor-attribute.c b/clang/test/CodeGen/constructor-attribute.c
index 69e7063..b715201 100644
--- a/clang/test/CodeGen/constructor-attribute.c
+++ b/clang/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));