Slightly improved test case
This commit is contained in:
parent
dd7e012509
commit
8ad2c58c56
|
@ -1049,7 +1049,7 @@ private:
|
||||||
check( "void foo()\n"
|
check( "void foo()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" char *a = (char *)malloc(10);\n"
|
" char *a = (char *)malloc(10);\n"
|
||||||
" a = a + 10;\n"
|
" a = (void *)a + 10;\n"
|
||||||
" free(a - 10);\n"
|
" free(a - 10);\n"
|
||||||
"}\n" );
|
"}\n" );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue