c4178c34cbccee29d101dec50f068e44590acb4a
[libc-test] / src / api / setjmp.c
1 #include <setjmp.h>
2 #define T(t) (t*)0;
3 static void f()
4 {
5 T(jmp_buf)
6 void(*p_longjmp)(jmp_buf,int) = longjmp;
7 int(*p_setjmp)(jmp_buf) = setjmp;
8 #ifdef _POSIX_C_SOURCE
9 T(sigjmp_buf)
10 void(*p_siglongjmp)(sigjmp_buf,int) = siglongjmp;
11 int(*p_sigsetjmp)(sigjmp_buf,int) = sigsetjmp;
12 #endif
13 }