naiveproxy/buildtools/third_party/libunwind/trunk/test/unw_getcontext.pass.cpp

9 lines
153 B
C++
Raw Normal View History

2018-02-02 13:49:39 +03:00
#include <assert.h>
#include <libunwind.h>
int main() {
unw_context_t context;
int ret = unw_getcontext(&context);
assert(ret == UNW_ESUCCESS);
}