naiveproxy/buildtools/third_party/libunwind/trunk/test/unw_getcontext.pass.cpp
2018-12-09 21:59:24 -05:00

9 lines
153 B
C++

#include <assert.h>
#include <libunwind.h>
int main() {
unw_context_t context;
int ret = unw_getcontext(&context);
assert(ret == UNW_ESUCCESS);
}