Home | History | Annotate | Download | only in CodeGenObjC
      1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -fobjc-exceptions -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 }
     22