aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/call_stack.cpp
blob: a2f86d461369b4ed8779d1e7fac18aa78b282e3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
// This file is part of the "winapi-debug" project.
// For details, see https://github.com/egor-tensin/winapi-debug.
// Distributed under the MIT License.

#include <test_lib.hpp>

#include <exception>
#include <iostream>

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