mirror of
https://github.com/boostorg/exception.git
synced 2025-07-13 04:26:44 +02:00
bug 5384
[SVN r70988]
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user