summaryrefslogtreecommitdiff
path: root/test/Sema/format-attr-pr4470.c
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2009-10-14 18:03:49 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2009-10-14 18:03:49 +0000
commit4c8b24812ddcd1dedaca343a6d4e76f91f398981 (patch)
tree137ebebcae16fb0ce7ab4af456992bbd8d22fced /test/Sema/format-attr-pr4470.c
parent5362a71c02e7d448a8ce98cf00c47e353fba5d04 (diff)
Notes
Diffstat (limited to 'test/Sema/format-attr-pr4470.c')
-rw-r--r--test/Sema/format-attr-pr4470.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Sema/format-attr-pr4470.c b/test/Sema/format-attr-pr4470.c
index cba3adf1d6de4..c03c573b72744 100644
--- a/test/Sema/format-attr-pr4470.c
+++ b/test/Sema/format-attr-pr4470.c
@@ -1,6 +1,7 @@
// RUN: clang-cc -fsyntax-only -verify -Wformat=2 %s
#include <stdio.h>
+#include <stdarg.h>
const char *foo(const char *format) __attribute__((format_arg(1)));