blob: 5bc80b55093ffb9edebf380de3df3385c1e0e6c3 [file] [log] [blame]
Fariborz Jahanian66867c52010-01-12 01:22:23 +00001// RUN: %clang_cc1 -rewrite-objc -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