Merge pull request #649 from simartin/useless_todo

Remove unnecessary TODO exception safety test case.
This commit is contained in:
PKEuS 2015-08-27 14:40:47 +02:00
commit af07c3ce46
1 changed files with 0 additions and 5 deletions

View File

@ -82,11 +82,6 @@ private:
"}"); "}");
ASSERT_EQUALS("[test.cpp:5]: (warning) Class x is not safe, destructor throws exception\n", errout.str()); ASSERT_EQUALS("[test.cpp:5]: (warning) Class x is not safe, destructor throws exception\n", errout.str());
check("x::~x() {\n"
" throw e;\n"
"}");
TODO_ASSERT_EQUALS("[test.cpp:3]: (warning) Class x is not safe, destructor throws exception\n", "", errout.str());
// #3858 - throwing exception in try block in destructor. // #3858 - throwing exception in try block in destructor.
check("class x {\n" check("class x {\n"
" ~x() {\n" " ~x() {\n"