7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-01-09 09:44:43 +00:00
kicad/thirdparty/sentry-native/external/crashpad/libunwind/test/unw_getcontext.pass.cpp
2022-04-02 01:21:55 +00:00

13 lines
241 B
C++

// TODO: Investigate these failures
// XFAIL: asan, tsan, ubsan
#include <assert.h>
#include <libunwind.h>
int main(int, char**) {
unw_context_t context;
int ret = unw_getcontext(&context);
assert(ret == UNW_ESUCCESS);
return 0;
}