OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [objc.dg/] [special/] [unclaimed-category-1a.m] - Blame information for rev 12

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.