Remove the need for a header and specify a triple so that the type
sizes make sense.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136309 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/2003-08-18-SigSetJmp.c b/test/CodeGen/2003-08-18-SigSetJmp.c
index 63c4127..1b1b18f 100644
--- a/test/CodeGen/2003-08-18-SigSetJmp.c
+++ b/test/CodeGen/2003-08-18-SigSetJmp.c
@@ -1,8 +1,8 @@
-// RUN: %clang -S -emit-llvm %s  -o /dev/null
-// XFAIL: mingw,win32
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s  -o /dev/null
 
-#include <setjmp.h>
-
+#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);