[SVN r70988]
This commit is contained in:
Emil Dotchevski
2011-04-05 00:11:42 +00:00
parent 24f3292606
commit cc0d73af9d
3 changed files with 29 additions and 11 deletions

View File

@ -200,6 +200,17 @@ main()
std::string di=current_exception_diagnostic_information();
test3(di);
}
try
{
throw error4();
}
catch(
error4 & x )
{
std::string di1=boost::diagnostic_information(x);
std::string wh1=x.what();
BOOST_TEST(wh1==di1);
}
try
{
error4 x; x << tagged_int1(42) << tagged_int2(42);