f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
41 lines
574 B
Objective-C
41 lines
574 B
Objective-C
/* For use with the methods.m test */
|
|
|
|
@interface TestPCH
|
|
+ alloc;
|
|
- (instancetype)instMethod;
|
|
@end
|
|
|
|
@class TestForwardClassDecl;
|
|
|
|
// FIXME: @compatibility_alias AliasForTestPCH TestPCH;
|
|
|
|
// http://llvm.org/PR12689
|
|
@interface PR12689
|
|
@end
|
|
|
|
@implementation PR12689
|
|
-(void)mugi:(int)x {
|
|
switch(x) {
|
|
case 23: {}
|
|
}
|
|
}
|
|
-(void)bonk:(int)x {
|
|
switch(x) {
|
|
case 42: {}
|
|
}
|
|
}
|
|
@end
|
|
|
|
@interface PR12689_2
|
|
@end
|
|
|
|
@implementation PR12689_2
|
|
-(void)mugi:(int)x {
|
|
switch(x) {
|
|
case 23: [self bonk:x]; break;
|
|
case 82: break;
|
|
}
|
|
}
|
|
-(void)bonk:(int)x {
|
|
}
|
|
@end
|