unw_getcontext.pass.cpp 176 B

123456789
  1. #include <assert.h>
  2. #include <libunwind.h>
  3. int main(int, char**) {
  4. unw_context_t context;
  5. int ret = unw_getcontext(&context);
  6. assert(ret == UNW_ESUCCESS);
  7. return 0;
  8. }