diff options
author | Eric Christopher <echristo@apple.com> | 2011-07-28 00:28:22 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-07-28 00:28:22 +0000 |
commit | e040c27fb8de1c51bc7b5a38accb80f152e7fcdb (patch) | |
tree | 0d445cf5517b1e23a2c2ca483136ecea2b20cb2f | |
parent | 1137086e1920558ee6c7c501617246079f3657de (diff) | |
download | bcm5719-llvm-e040c27fb8de1c51bc7b5a38accb80f152e7fcdb.tar.gz bcm5719-llvm-e040c27fb8de1c51bc7b5a38accb80f152e7fcdb.zip |
Remove the need for a header and specify a triple so that the type
sizes make sense.
llvm-svn: 136309
-rw-r--r-- | clang/test/CodeGen/2003-08-18-SigSetJmp.c | 8 |
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); |