blob: 1b1b18f6eeccc0b438d441751032ae33d121f6a6 [file] [log] [blame]
Eric Christopher95ee6672011-07-28 00:28:22 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o /dev/null
Eric Christophera11d1292011-07-26 00:57:50 +00002
Eric Christopher95ee6672011-07-28 00:28:22 +00003#define _JBLEN ((9 * 2) + 3 + 16)
4typedef int sigjmp_buf[_JBLEN + 1];
5int sigsetjmp(sigjmp_buf env, int savemask);
Eric Christophera11d1292011-07-26 00:57:50 +00006sigjmp_buf B;
7int foo() {
8 sigsetjmp(B, 1);
9 bar();
10}