aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/call_stack.cpp
blob: 06b9ed5ccfe1dc439ebe1731ba96682b396fc561 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <test_lib.hpp>

#include <boost/nowide/iostream.hpp>

#include <exception>

int main() {
    try {
        test_ns::print_call_stack();
    } catch (const std::exception& e) {
        boost::nowide::cerr << e.what() << '\n';
        return 1;
    }
    return 0;
}