[cfe-commits] r103537 - /cfe/trunk/test/Sema/scope-check.c
John McCall
rjmccall at apple.com
Tue May 11 18:15:36 PDT 2010
Author: rjmccall
Date: Tue May 11 20:15:36 2010
New Revision: 103537
URL: http://llvm.org/viewvc/llvm-project?rev=103537&view=rev
Log:
Correct spelling of expected error message. Apparently I forgot to re-run
the test suite after modifying this diagnostic.
Modified:
cfe/trunk/test/Sema/scope-check.c
Modified: cfe/trunk/test/Sema/scope-check.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/scope-check.c?rev=103537&r1=103536&r2=103537&view=diff
==============================================================================
--- cfe/trunk/test/Sema/scope-check.c (original)
+++ cfe/trunk/test/Sema/scope-check.c Tue May 11 20:15:36 2010
@@ -19,7 +19,7 @@
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;
}
More information about the cfe-commits
mailing list