зеркало из https://github.com/microsoft/clang-1.git
fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108671 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
bc46c6b9c5
Коммит
c6a36ff1d5
|
@ -44,5 +44,5 @@ void f5(void) {
|
|||
void f6(void) {
|
||||
FILE *p = fopen("foo", "r");
|
||||
fclose(p);
|
||||
fclose(p); // expected-warning {{Try to close a file Descriptor already closed. Cause Undefined Behaviour.}}
|
||||
fclose(p); // expected-warning {{Try to close a file Descriptor already closed. Cause undefined behaviour.}}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче