| 1 |
// https://github.com/jeremy-rifkin/libassert/issues/43 |
| 2 |
|
| 3 |
#include <cpptrace/cpptrace.hpp> |
| 4 |
|
| 5 |
#include <gtest/gtest.h> |
| 6 |
|
| 7 |
#include <exception> |
| 8 |
|
| 9 |
TEST(TraceTest, trace_test) { |
| 10 |
ASSERT_THROW((cpptrace::generate_trace().print(), false), std::logic_error); |
| 11 |
} |