summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/CodeGen/2003-08-18-SigSetJmp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/2003-08-18-SigSetJmp.c b/clang/test/CodeGen/2003-08-18-SigSetJmp.c
index 63c4127e0dc..1b1b18f6eec 100644
--- a/clang/test/CodeGen/2003-08-18-SigSetJmp.c
+++ b/clang/test/CodeGen/2003-08-18-SigSetJmp.c
@@ -1,8 +1,8 @@
-// RUN: %clang -S -emit-llvm %s -o /dev/null
-// XFAIL: mingw,win32
-
-#include <setjmp.h>
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o /dev/null
+#define _JBLEN ((9 * 2) + 3 + 16)
+typedef int sigjmp_buf[_JBLEN + 1];
+int sigsetjmp(sigjmp_buf env, int savemask);
sigjmp_buf B;
int foo() {
sigsetjmp(B, 1);
OpenPOWER on IntegriCloud