fixed wrong testcase

This commit is contained in:
Ettl Martin 2012-01-31 16:48:05 +01:00
parent c1e2802175
commit 86a5a9a7bf
1 changed files with 2 additions and 1 deletions

View File

@ -1384,8 +1384,9 @@ private:
check("void f()\n" check("void f()\n"
"{\n" "{\n"
" char *p = NULL;"
" try{\n" " try{\n"
" char *p(new char[10]);\n" " p = new char[10];\n"
" }\n" " }\n"
" catch(...){\n" " catch(...){\n"
" return;\n" " return;\n"