]>
Commit | Line | Data |
---|---|---|
20effc67 TL |
1 | /* |
2 | Copyright 2020 Glen Joseph Fernandes | |
3 | (glenjofe@gmail.com) | |
4 | ||
5 | Distributed under the Boost Software License, Version 1.0. | |
6 | (http://www.boost.org/LICENSE_1_0.txt) | |
7 | */ | |
8 | #include <boost/core/lightweight_test.hpp> | |
9 | ||
10 | void f() | |
11 | { | |
12 | throw 5; | |
13 | } | |
14 | ||
15 | int main() | |
16 | { | |
17 | BOOST_TEST_NO_THROW(f()); | |
18 | return boost::report_errors(); | |
19 | } |