https://github.com/epiqc/ScaffCC
Revision 801b6f99805aa2112d529bca5a608bbe104d4055 authored by ali@mingzhe-1.cs.uchicago.edu on 26 January 2017, 07:14:30 UTC, committed by ali@mingzhe-1.cs.uchicago.edu on 26 January 2017, 07:14:30 UTC
2 parent s 7aceb7c + 294ade4
Raw File
Tip revision: 801b6f99805aa2112d529bca5a608bbe104d4055 authored by ali@mingzhe-1.cs.uchicago.edu on 26 January 2017, 07:14:30 UTC
Merge branch 'master' of https://github.com/epiqc/ScaffCC
Tip revision: 801b6f9
2007-04-03-ObjcEH.m
// RUN: %clang -fexceptions -S -emit-llvm %s -o -

@interface B 
-(int)bar;
@end

@interface A
-(void) Foo:(int) state;
@end

@implementation A 
- (void) Foo:(int) state {

        int wasResponded = 0;
        @try {
        if (state) {
           B * b = 0;
           @try { }
           @finally {
             wasResponded = ![b bar];
           }
        }
        }
        @finally {
        }
}
@end
back to top