OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [objc.dg/] [special/] [unclaimed-category-1a.m] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 309 jeremybenn
/* 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
 

powered by: WebSVN 2.1.0

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