cxx/test/language.support/support.exception
Sean Hunt 2d81f3d1f3 Give A an explicitly non-throwing destructor so that B's destructor is
itself non-throwing.  Since nested_exception's destructor is
non-throwing, if B's destructor is not, this causes an error in C++03
mode due to the overriding function having a more lax specification.
This did not occur in C++0x mode as A's destructor was implicitly
non-throwing.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@135400 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-18 17:07:53 +00:00
..
bad.exception license change 2010-11-16 22:09:02 +00:00
except.nested Give A an explicitly non-throwing destructor so that B's destructor is 2011-07-18 17:07:53 +00:00
exception license change 2010-11-16 22:09:02 +00:00
exception.terminate N3189 Observers for the three handler functions 2010-12-02 16:45:21 +00:00
propagation license change 2010-11-16 22:09:02 +00:00
uncaught <rdar://problem/9073695> std::uncaught_exception() becomes true before evaluating the throw-expression rather than after 2011-03-11 22:33:07 +00:00
version.pass.cpp license change 2010-11-16 22:09:02 +00:00