Ticket #8312, thanks Greg Julus

[SVN r83588]
This commit is contained in:
Emil Dotchevski
2013-03-26 17:25:10 +00:00
parent 9b100b0c9d
commit 9e012e1fdf

View File

@ -35,8 +35,8 @@ boost_throw_exception_test()
catch( catch(
boost::exception & x ) boost::exception & x )
{ {
char const * const * file=boost::get_error_info<boost::throw_function>(x); char const * const * function=boost::get_error_info<boost::throw_function>(x);
char const * const * function=boost::get_error_info<boost::throw_file>(x); char const * const * file=boost::get_error_info<boost::throw_file>(x);
int const * line=boost::get_error_info<boost::throw_line>(x); int const * line=boost::get_error_info<boost::throw_line>(x);
BOOST_TEST( file && *file ); BOOST_TEST( file && *file );
BOOST_TEST( function && *function ); BOOST_TEST( function && *function );
@ -55,8 +55,8 @@ boost_throw_exception_test()
catch( catch(
boost::exception & x ) boost::exception & x )
{ {
char const * const * file=boost::get_error_info<boost::throw_function>(x); char const * const * function=boost::get_error_info<boost::throw_function>(x);
char const * const * function=boost::get_error_info<boost::throw_file>(x); char const * const * file=boost::get_error_info<boost::throw_file>(x);
int const * line=boost::get_error_info<boost::throw_line>(x); int const * line=boost::get_error_info<boost::throw_line>(x);
int const * data=boost::get_error_info<test_data>(x); int const * data=boost::get_error_info<test_data>(x);
BOOST_TEST( file && *file ); BOOST_TEST( file && *file );