fixed wrong testcase
This commit is contained in:
parent
c1e2802175
commit
86a5a9a7bf
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue