13 lines
241 B
C++
13 lines
241 B
C++
|
// TODO: Investigate these failures
|
||
|
// XFAIL: asan, tsan, ubsan
|
||
|
|
||
|
#include <assert.h>
|
||
|
#include <libunwind.h>
|
||
|
|
||
|
int main(int, char**) {
|
||
|
unw_context_t context;
|
||
|
int ret = unw_getcontext(&context);
|
||
|
assert(ret == UNW_ESUCCESS);
|
||
|
return 0;
|
||
|
}
|