diff --git a/test/teststl.cpp b/test/teststl.cpp index 9d073fc69..c0c4c2700 100644 --- a/test/teststl.cpp +++ b/test/teststl.cpp @@ -267,6 +267,8 @@ private: " ints.erase(iter);\n" " std::cout << (*iter) << std::endl;\n" "}\n"); + + // Ticket #277 - STL: Dereferencing an erased iterator TODO_ASSERT_EQUALS("[test.cpp:6]: (error) Dereferencing invalid iterator\n", errout.str()); }