]> granicus.if.org Git - clang/commitdiff
Correct spelling of expected error message. Apparently I forgot to re-run
authorJohn McCall <rjmccall@apple.com>
Wed, 12 May 2010 01:15:36 +0000 (01:15 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 12 May 2010 01:15:36 +0000 (01:15 +0000)
the test suite after modifying this diagnostic.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103537 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/scope-check.c

index 28e2d0ead51b2342d1bab5b160853b31c63fba22..f3881ed086acef83a2c4f718e3950bbcbfa7ef6c 100644 (file)
@@ -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;
 }