]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/2003-08-18-SigSetJmp.c
Vendor import of clang release_30 branch r142614:
[FreeBSD/FreeBSD.git] / test / CodeGen / 2003-08-18-SigSetJmp.c
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s  -o /dev/null
2
3 #define _JBLEN ((9 * 2) + 3 + 16)
4 typedef int sigjmp_buf[_JBLEN + 1];
5 int sigsetjmp(sigjmp_buf env, int savemask);
6 sigjmp_buf B;
7 int foo() {
8   sigsetjmp(B, 1);
9   bar();
10 }