Fixed test case so that it would compile.

This commit is contained in:
Pete Johns 2010-10-27 21:14:40 +11:00
parent 8022baec2a
commit 6649e31514
1 changed files with 2 additions and 2 deletions

View File

@ -704,7 +704,7 @@ private:
"{\n"
" char *str = malloc(10);\n"
" if (somecondition)\n"
" for ( ; )\n"
" for ( ; ; )\n"
" { }\n"
" return str;\n"
"}\n";
@ -712,7 +712,7 @@ private:
"{\n"
"char * str ; str = malloc ( 10 ) ;\n"
"if ( somecondition ) {\n"
"for ( ; )\n"
"for ( ; ; )\n"
"{ } }\n"
"return str ;\n"
"}", tokenizeAndStringify(code, true));