fixed testrunner assertion

This commit is contained in:
Daniel Marjamäki 2012-08-07 16:42:11 +02:00
parent 735c0f5f6b
commit 77b8e496d6
1 changed files with 1 additions and 1 deletions

View File

@ -5719,7 +5719,7 @@ private:
void simplifyTypedef107() { // ticket #3963 (bad code => segmentation fault) void simplifyTypedef107() { // ticket #3963 (bad code => segmentation fault)
const char code[] = "typedef int x[]; int main() { return x }"; const char code[] = "typedef int x[]; int main() { return x }";
tok(code); tok(code);
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("[test.cpp:1]: (error) syntax error\n", errout.str());
} }
void simplifyTypedefFunction1() { void simplifyTypedefFunction1() {