Skip to content

Commit

Permalink
Remove the need for a header and specify a triple so that the type
Browse files Browse the repository at this point in the history
sizes make sense.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136309 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
echristo committed Jul 28, 2011
1 parent 55528b2 commit 95ee667
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/CodeGen/2003-08-18-SigSetJmp.c
Original file line number Diff line number Diff line change
@@ -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);
Expand Down

0 comments on commit 95ee667

Please sign in to comment.