CursorVisitor: Pull ObjCMessageExpr and explicit casts into data-recursion algorithm.
[clang.git] / test / CodeGenObjC / blocks-4.m
blobd945ed44fac0750d11388b2049c4862dc11a2cc7
1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -fblocks -o %t %s
2 // rdar://7590273
4 void EXIT(id e);
6 @interface NSBlockOperation {
8 +(id)blockOperationWithBlock:(void (^)(void))block ;
9 @end
11 void FUNC() {
12         [NSBlockOperation blockOperationWithBlock:^{
13             @try {
15             }
16             @catch (id exception) {
17                 EXIT(exception);
18             }
19         }];