testbufferoverrun: activated test

This commit is contained in:
Daniel Marjamäki 2009-02-04 16:58:44 +00:00
parent c46c4c50e9
commit d73e6c398f
1 changed files with 0 additions and 2 deletions

View File

@ -181,14 +181,12 @@ private:
"}\n"); "}\n");
ASSERT_EQUALS(std::string(""), errout.str()); ASSERT_EQUALS(std::string(""), errout.str());
/* TODO
check("static void f()\n" check("static void f()\n"
"{\n" "{\n"
" int data[2];\n" " int data[2];\n"
" data[ sizeof(data[0]) ] = 0;\n" " data[ sizeof(data[0]) ] = 0;\n"
"}\n"); "}\n");
ASSERT_EQUALS(std::string("[test.cpp:4]: (all) Array index out of bounds\n"), errout.str()); ASSERT_EQUALS(std::string("[test.cpp:4]: (all) Array index out of bounds\n"), errout.str());
*/
} }