From 0dacb4b1ca22c59c87e0f765eed4784efe864e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 2 May 2009 21:35:35 +0200 Subject: [PATCH] stl: added a ticket for the todo test case TestStl::eraseDereference --- test/teststl.cpp | 2 ++ 1 file changed, 2 insertions(+) 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()); }