summaryrefslogtreecommitdiffstats
path: root/test/PCH/method_pool.h
blob: 80858360d7254cdbe329fd258bf67c266dbac905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* 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