aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-05-12 01:15:36 +0000
committerJohn McCall <rjmccall@apple.com>2010-05-12 01:15:36 +0000
commitebc2fb2ce1f5e775bc8d58b421b2aabbf4f40f57 (patch)
tree9c24196ae5a4ef844703db44e2c93fa016e6ea6e
parentddb0b4d5391d3e6bc9dcf93dc42310b20c96b6fc (diff)
Correct spelling of expected error message. Apparently I forgot to re-run
the test suite after modifying this diagnostic. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103537 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Sema/scope-check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/scope-check.c b/test/Sema/scope-check.c
index 28e2d0ead5..f3881ed086 100644
--- a/test/Sema/scope-check.c
+++ b/test/Sema/scope-check.c
@@ -19,7 +19,7 @@ void test3clean(int*);
int test3() {
goto L; // expected-error{{illegal goto into protected scope}}
-int a __attribute((cleanup(test3clean))); // expected-note {{jump bypasses initialization of declaration with __attribute__((cleanup))}}
+int a __attribute((cleanup(test3clean))); // expected-note {{jump bypasses initialization of variable with __attribute__((cleanup))}}
L:
return a;
}