repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2003-08-18-SigSetJmp.c
blob
986bcb8bd74c38520dc46baa5add2627ace5b967
1
// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o /dev/null
2
3
#define _JBLEN ((9 * 2) + 3 + 16)
4
typedef
int
sigjmp_buf
[
_JBLEN
+
1
];
5
int
sigsetjmp
(
sigjmp_buf env
,
int
savemask
);
6
void
bar
(
void
);
7
sigjmp_buf B
;
8
int
foo
(
void
) {
9
sigsetjmp
(
B
,
1
);
10
bar
();
11
}