diff --git a/test/throw_exception_test.cpp b/test/throw_exception_test.cpp index 37ecef9..c6c0eeb 100644 --- a/test/throw_exception_test.cpp +++ b/test/throw_exception_test.cpp @@ -35,8 +35,8 @@ boost_throw_exception_test() catch( boost::exception & x ) { - char const * const * file=boost::get_error_info(x); - char const * const * function=boost::get_error_info(x); + char const * const * function=boost::get_error_info(x); + char const * const * file=boost::get_error_info(x); int const * line=boost::get_error_info(x); BOOST_TEST( file && *file ); BOOST_TEST( function && *function ); @@ -55,8 +55,8 @@ boost_throw_exception_test() catch( boost::exception & x ) { - char const * const * file=boost::get_error_info(x); - char const * const * function=boost::get_error_info(x); + char const * const * function=boost::get_error_info(x); + char const * const * file=boost::get_error_info(x); int const * line=boost::get_error_info(x); int const * data=boost::get_error_info(x); BOOST_TEST( file && *file );