37 lines · c
1/* For use with the method_pool.m test */2 3/* Whitespace below is significant */4 5 6 7 8 9 10 11 12 13 14 15@interface TestMethodPool116+ alloc;17- (double)instMethod:(int)foo;18@end19 20@interface TestMethodPool221- (char)instMethod:(int)foo;22@end23 24@implementation TestMethodPool125+ alloc { return 0; }26 27- (double)instMethod:(int)foo {28 return foo;29}30@end31 32@implementation TestMethodPool233- (char)instMethod:(int)foo {34 return foo;35}36@end37