[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / CodeGenObjC / blocks-4.m
blob3b5a0e682fc703966292bbb62469567d05417c9f
1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -fobjc-exceptions -fblocks -o %t %s
3 void EXIT(id e);
5 @interface NSBlockOperation {
7 +(id)blockOperationWithBlock:(void (^)(void))block ;
8 @end
10 void FUNC(void) {
11         [NSBlockOperation blockOperationWithBlock:^{
12             @try {
14             }
15             @catch (id exception) {
16                 EXIT(exception);
17             }
18         }];