From 39fcc9a984e2820e4ea0fa2ac4abd17d9f3a31df Mon Sep 17 00:00:00 2001 From: dim 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/attr-used.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Sema/attr-used.c') diff --git a/test/Sema/attr-used.c b/test/Sema/attr-used.c index d50f4c0..0838816 100644 --- a/test/Sema/attr-used.c +++ b/test/Sema/attr-used.c @@ -3,7 +3,7 @@ extern int l0 __attribute__((used)); // expected-warning {{used attribute ignored}} __private_extern__ int l1 __attribute__((used)); // expected-warning {{used attribute ignored}} -struct __attribute__((used)) s { // expected-warning {{'used' attribute only applies to variable and function types}} +struct __attribute__((used)) s { // expected-warning {{'used' attribute only applies to variables and functions}} int x; }; -- cgit v1.1