Home | History | Annotate | Download | only in test
      1 #include <assert.h>
      2 #include <libunwind.h>
      3 
      4 int main() {
      5   unw_context_t context;
      6   int ret = unw_getcontext(&context);
      7   assert(ret == UNW_ESUCCESS);
      8 }
      9