21 lines · plain
1// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -fobjc-exceptions -fblocks -o %t %s2 3void EXIT(id e);4 5@interface NSBlockOperation {6}7+(id)blockOperationWithBlock:(void (^)(void))block ;8@end9 10void FUNC(void) {11 [NSBlockOperation blockOperationWithBlock:^{12 @try {13 14 }15 @catch (id exception) {16 EXIT(exception);17 }18 }];19 20}21