mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-22 15:31:00 +00:00
bdbe099dd2
llvm-svn: 76670
37 lines
419 B
Objective-C
37 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
|