aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/constructor-attribute.c
diff options
context:
space:
mode:
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));