2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-02 21:22:10 +00:00
Files
test/doc/v2/examples/example39.cpp
2014-01-28 23:48:41 +01:00

11 lines
200 B
C++
Executable File

//[example39
#define BOOST_TEST_MODULE example
#include <boost/test/included/unit_test.hpp>
class my_exception{};
BOOST_AUTO_TEST_CASE( test )
{
BOOST_CHECK_NO_THROW( throw my_exception() );
}
//]