Buffer overruns: Removed TODO test case. We intentionally don't check struct/class arrays fully to avoid false positives

This commit is contained in:
Daniel Marjamäki 2011-02-13 21:42:35 +01:00
parent c03ace7378
commit 87cc42e6f0
1 changed files with 0 additions and 14 deletions

View File

@ -1897,20 +1897,6 @@ private:
" }\n"
"}\n");
ASSERT_EQUALS("", errout.str());
check("class A {\n"
" void foo();\n"
" bool b[7];\n"
"};\n"
"\n"
"void A::foo() {\n"
" for (int i=0; i<7; i++) {\n"
" b[i] = b[i+1];\n"
" }\n"
"}\n");
TODO_ASSERT_EQUALS("error", // wanted result
"", // current result
errout.str());
}
void buffer_overrun_bailoutIfSwitch()