f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
36 lines
419 B
Objective-C
36 lines
419 B
Objective-C
/* For use with the method_pool.m test */
|
|
|
|
/* Whitespace below is significant */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@interface TestMethodPool1
|
|
+ alloc;
|
|
- (double)instMethod:(int)foo;
|
|
@end
|
|
|
|
@interface TestMethodPool2
|
|
- (char)instMethod:(int)foo;
|
|
@end
|
|
|
|
@implementation TestMethodPool1
|
|
+ alloc { return 0; }
|
|
|
|
- (double)instMethod:(int)foo {
|
|
return foo;
|
|
}
|
|
@end
|
|
|
|
@implementation TestMethodPool2
|
|
- (char)instMethod:(int)foo {
|
|
return foo;
|
|
}
|
|
@end
|