Remove unnecessary TODO exception safety test case.

This commit is contained in:
Simon Martin 2015-08-21 22:28:56 +02:00
parent 1b29a99e45
commit 0c2b5cc244
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());
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.
check("class x {\n"
" ~x() {\n"