Douglas Gregor | f0aaf7a | 2009-04-24 21:10:55 +0000 | [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 |
Mike Stump | 74bfeb3 | 2009-07-21 22:54:02 +0000 | [diff] [blame] | 25 | + alloc { return 0; } |
Douglas Gregor | f0aaf7a | 2009-04-24 21:10:55 +0000 | [diff] [blame] | 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 |