2 // Negative test for BOOST_TEST_THROWS
4 // Copyright (c) 2014 Peter Dimov
6 // Distributed under the Boost Software License, Version 1.0.
7 // See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt
11 #include <boost/detail/lightweight_test.hpp>
24 BOOST_TEST_THROWS( f(), X );
26 return boost::report_errors();