Improved test of pointer argument realloc.

This commit is contained in:
Leandro Lisboa Penz 2010-06-16 22:46:47 -03:00
parent 58a872e6a0
commit 350810e3c1
1 changed files with 1 additions and 0 deletions

View File

@ -1785,6 +1785,7 @@ private:
"{\n"
" char *tmp = malloc(10);\n"
" foo(&tmp);\n"
" foo(&tmp);\n"
" free(tmp);\n"
"}\n");
ASSERT_EQUALS(std::string(""), errout.str());