fixed testrunner assertion
This commit is contained in:
parent
735c0f5f6b
commit
77b8e496d6
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue