From 39fcc9a984e2820e4ea0fa2ac4abd17d9f3a31df Mon Sep 17 00:00:00 2001 From: dim <dim@FreeBSD.org> Date: Sun, 20 Feb 2011 13:06:31 +0000 Subject: Vendor import of clang trunk r126079: http://llvm.org/svn/llvm-project/cfe/trunk@126079 --- test/Sema/sentinel-attribute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Sema/sentinel-attribute.c') diff --git a/test/Sema/sentinel-attribute.c b/test/Sema/sentinel-attribute.c index 4c09273..ed0ef89 100644 --- a/test/Sema/sentinel-attribute.c +++ b/test/Sema/sentinel-attribute.c @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s -int x __attribute__((sentinel)); //expected-warning{{'sentinel' attribute only applies to function, method or block types}} +int x __attribute__((sentinel)); //expected-warning{{'sentinel' attribute only applies to functions, methods and blocks}} void f1(int a, ...) __attribute__ ((sentinel)); void f2(int a, ...) __attribute__ ((sentinel(1))); -- cgit v1.1