1 // RUN: %clang_cc1 -rewrite-objc -fobjc-exceptions -o - %s
2 // rdar://7522880
3
4 @interface NSException
5 @end
6
7 @interface Foo
8 @end
9
10 @implementation Foo
11 - (void)bar {
12 @try {
13 } @catch (NSException *e) {
14 }
15 @catch (Foo *f) {
16 }
17 @catch (...) {
18 }
19 }
20 @end
21