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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [special/] [unclaimed-category-1a.m] - Blame information for rev 704

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 704 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.