xref: /minix3/external/bsd/llvm/dist/clang/test/PCH/method_pool.h (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
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
37