summaryrefslogtreecommitdiffstats
path: root/libunwind/test/unw_getcontext.pass.cpp
blob: b012706a0bf925c4c56e00ec32f21e0f944d179c (plain)
1
2
3
4
5
6
7
8
#include <assert.h>
#include <libunwind.h>

int main() {
  unw_context_t context;
  int ret = unw_getcontext(&context);
  assert(ret == UNW_ESUCCESS);
}
OpenPOWER on IntegriCloud