add a new MCInstPrinter class, move the (trivial) MCDisassmbler ctor inline.
[llvm/avr.git] / test / FrontendObjC / 2007-04-03-ObjcEH.m
blob353323d325f1d700789cf014d321dc7dcb576b5c
1 // RUN: %llvmgcc -c %s -o /dev/null
3 @interface B 
4 -(int)bar;
5 @end
7 @interface A
8 -(void) Foo:(int) state;
9 @end
11 @implementation A 
12 - (void) Foo:(int) state {
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         }
27 @end