repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git]
/
test
/
CodeGenObjC
/
blocks-4.m
blob
d945ed44fac0750d11388b2049c4862dc11a2cc7
1
// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -fblocks -o %t %s
2
// rdar://7590273
3
4
void EXIT(id e);
5
6
@interface NSBlockOperation {
7
}
8
+(id)blockOperationWithBlock:(void (^)(void))block ;
9
@end
10
11
void FUNC() {
12
[NSBlockOperation blockOperationWithBlock:^{
13
@try {
14
15
}
16
@catch (id exception) {
17
EXIT(exception);
18
}
19
}];
20
21
}