minix/external/bsd/llvm/dist/clang/test/PCH/method_pool.h
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

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