| 43 | } |
| 44 | |
| 45 | BOOST_NOINLINE BOOST_SYMBOL_VISIBLE void in_test_rethrow_2(const char* msg) { |
| 46 | try { |
| 47 | in_test_throw_2(msg); |
| 48 | } catch (const std::exception&) { |
| 49 | try { |
| 50 | in_test_throw_1(msg); |
| 51 | } catch (const std::exception&) {} |
| 52 | |
| 53 | throw; |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | BOOST_NOINLINE BOOST_SYMBOL_VISIBLE void test_no_exception() { |
| 58 | auto trace = stacktrace::from_current_exception(); |
no test coverage detected