brintos

brintos / llvm-project-archived public Read only

0
0
Text · 410 B · f86ff49 Raw
28 lines · plain
1// RUN: %clang -fexceptions -S -emit-llvm %s -o -2 3@interface B 4-(int)bar;5@end6 7@interface A8-(void) Foo:(int) state;9@end10 11@implementation A 12- (void) Foo:(int) state {13 14        int wasResponded = 0;15        @try {16        if (state) {17           B * b = 0;18           @try { }19           @finally {20             wasResponded = ![b bar];21           }22        }23        }24        @finally {25        }26}27@end28