Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 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 TestMethodPool1 |
| 16 | + alloc; |
| 17 | - (double)instMethod:(int)foo; |
| 18 | @end |
| 19 | |
| 20 | @interface TestMethodPool2 |
| 21 | - (char)instMethod:(int)foo; |
| 22 | @end |
| 23 | |
| 24 | @implementation TestMethodPool1 |
| 25 | + alloc { return 0; } |
| 26 | |
| 27 | - (double)instMethod:(int)foo { |
| 28 | return foo; |
| 29 | } |
| 30 | @end |
| 31 | |
| 32 | @implementation TestMethodPool2 |
| 33 | - (char)instMethod:(int)foo { |
| 34 | return foo; |
| 35 | } |
| 36 | @end |