aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/objc.dg/special/unclaimed-category-1a.m
blob: 4fb2d4619060d608eb086f05824b059564335669 (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.  */

#include "unclaimed-category-1.h"

@implementation TestClass (A)
- (int)A
{
  return 1;
}
@end

@implementation TestClass (B)
- (int)B
{
  return 2;
}
@end

@implementation TestClass (C)
- (int)C
{
  return 3;
}
@end