summaryrefslogtreecommitdiff
path: root/test/Sema/attr-format_arg.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-25 12:47:38 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-25 12:47:38 +0000
commit8bf0ccd4c7e23a329f150323e2f9b474ff15c66c (patch)
tree7badf8e110741e9376ce73abfe249f689b9c15f1 /test/Sema/attr-format_arg.c
parent44f6c7a81081f4b1f72f010c41826b96e234a0ff (diff)
downloadclang-8bf0ccd4c7e23a329f150323e2f9b474ff15c66c.tar.gz
Make having no RUN line a failure.
Doug, please look at decltype-crash and instantiate-function-1.mm, I'm not sure if they are actually testing the right thing / anything. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/attr-format_arg.c')
-rw-r--r--test/Sema/attr-format_arg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Sema/attr-format_arg.c b/test/Sema/attr-format_arg.c
index 6f953155f8..0830951acc 100644
--- a/test/Sema/attr-format_arg.c
+++ b/test/Sema/attr-format_arg.c
@@ -1,3 +1,5 @@
+// RUN: clang-cc -fsyntax-only -verify %s
+
#include <stdio.h>
const char* f(const char *s) __attribute__((format_arg(1)));