Memory leak: Test code was supposed to call unknown function

This commit is contained in:
Daniel Marjamäki 2009-02-08 18:50:34 +00:00
parent 1637e867de
commit e572cb3c1d
1 changed files with 1 additions and 1 deletions

View File

@ -1862,7 +1862,7 @@ private:
check("void foo()\n"
"{\n"
" int *p = new int[100];\n"
" foo();\n"
" ThrowException();\n"
"}\n");
ASSERT_EQUALS("[test.cpp:5]: (error) Memory leak: p\n", errout.str());
}