Debian Codegraph @

gcc/testsuite/objc.dg/special/unclaimed-category-1a.m

raw
1 /* Contributed by Nicola Pero - Fri Dec 14 08:36:00 GMT 2001 */
2
3 /* Test loading unclaimed categories - categories of a class defined
4 separately from the class itself. */
5
6 #include "unclaimed-category-1.h"
7
8 @implementation TestClass (A)
9 - (int)A
10 {
11 return 1;
12 }
13 @end
14
15 @implementation TestClass (B)
16 - (int)B
17 {
18 return 2;
19 }
20 @end
21
22 @implementation TestClass (C)
23 - (int)C
24 {
25 return 3;
26 }
27 @end
28
29