зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
ddb0b4d539
Коммит
ebc2fb2ce1
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче