summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/special/unclaimed-category-1.h
blob: bf507a788247fa73dd0ee28e9899537270a9c1e8 (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
/* Contributed by Nicola Pero - Fri Dec 14 08:36:00 GMT 2001 */

/* Test loading unclaimed categories - categories of a class defined
   separately from the class itself.  */

@interface TestClass
{
#ifdef __OBJC2__
  Class isa;
#else
  id isa;
#endif
}
- (int)D;
@end

@interface TestClass (A)
- (int)A;
@end

@interface TestClass (B)
- (int)B;
@end

@interface TestClass (C)
- (int)C;
@end