Improved test of pointer argument realloc.
This commit is contained in:
parent
58a872e6a0
commit
350810e3c1
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue