Apply patches from #5462.

Add new test case to verify patches are actually working and prevent future breakage!
Fixes #5462.

[SVN r71240]
This commit is contained in:
John Maddock
2011-04-14 07:53:28 +00:00
parent 3ce59d3bbd
commit 337f7036df
6 changed files with 89 additions and 7 deletions

View File

@ -208,4 +208,16 @@ void test(const wchar_t& c, const test_invalid_regex_tag& tag)
}
#endif
#ifdef BOOST_NO_EXCETIONS
namespace boost{
void throw_exception( std::exception const & e )
{
std::cerr << e.what() << std::endl;
std::exit(1);
}
}
#endif
#include <boost/test/included/prg_exec_monitor.hpp>