//Distributed under the Boost Software License, Version 1.0. (See accompanying
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#include <boost/config.hpp>
+
+#if defined( BOOST_NO_EXCEPTIONS )
+# error This program requires exception handling.
+#endif
+
#include "helper2.hpp"
#include <boost/exception/get_error_info.hpp>
#include <boost/exception/info.hpp>
int const * line=boost::get_error_info<boost::throw_line>(x);
BOOST_TEST( file && *file );
BOOST_TEST( function && *function );
- BOOST_TEST( line && *line==32 );
+ BOOST_TEST( line && *line==38 );
}
catch(
... )
int const * data=boost::get_error_info<test_data>(x);
BOOST_TEST( file && *file );
BOOST_TEST( function && *function );
- BOOST_TEST( line && *line==52 );
+ BOOST_TEST( line && *line==58 );
BOOST_TEST( data && *data==42 );
}
catch(