1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
21 lines
291 B
Objective-C
21 lines
291 B
Objective-C
// RUN: %clang_cc1 -rewrite-objc -fobjc-fragile-abi -fobjc-exceptions -o - %s
|
|
// rdar://7522880
|
|
|
|
@interface NSException
|
|
@end
|
|
|
|
@interface Foo
|
|
@end
|
|
|
|
@implementation Foo
|
|
- (void)bar {
|
|
@try {
|
|
} @catch (NSException *e) {
|
|
}
|
|
@catch (Foo *f) {
|
|
}
|
|
@catch (...) {
|
|
}
|
|
}
|
|
@end
|