| 1 | /* For use with the methods.m test */ |
|---|---|
| 2 | |
| 3 | @interface A |
| 4 | @end |
| 5 | |
| 6 | @interface B |
| 7 | @end |
| 8 | |
| 9 | @interface TestPCH |
| 10 | - (void)instMethod; |
| 11 | @end |
| 12 | |
| 13 | @implementation TestPCH |
| 14 | - (void)instMethod { |
| 15 | @try { |
| 16 | } @catch(A *a) { |
| 17 | } @catch(B *b) { |
| 18 | } @catch(...) { |
| 19 | } @finally { |
| 20 | } |
| 21 | } |
| 22 | @end |
| 23 |