mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 04:10:49 -05:00
20 lines
253 B
Objective-C
20 lines
253 B
Objective-C
// RUN: %clang_cc1 -rewrite-objc -o - %s
|
|
// rdar://7522880
|
|
|
|
@interface NSException
|
|
@end
|
|
|
|
@interface Foo
|
|
@end
|
|
|
|
@implementation Foo
|
|
- (void)bar {
|
|
@try {
|
|
} @catch (NSException *e) {
|
|
}
|
|
@catch (Foo *f) {
|
|
}
|
|
@catch (...) {
|
|
}
|
|
}
|
|
@end
|