diff options
Diffstat (limited to 'test/Sema/format-attr-pr4470.c')
-rw-r--r-- | test/Sema/format-attr-pr4470.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/Sema/format-attr-pr4470.c b/test/Sema/format-attr-pr4470.c deleted file mode 100644 index 374d8b3..0000000 --- a/test/Sema/format-attr-pr4470.c +++ /dev/null @@ -1,12 +0,0 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -Wformat=2 %s - -#include <stdarg.h> -int vprintf(const char *, va_list); - -const char *foo(const char *format) __attribute__((format_arg(1))); - -void __attribute__((format(printf, 1, 0))) -foo2(const char *fmt, va_list va) -{ - vprintf(foo(fmt), va); -} |