Remove unnecessary TODO exception safety test case.
This commit is contained in:
parent
1b29a99e45
commit
0c2b5cc244
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue