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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [objc.dg/] [special/] [unclaimed-category-1.h] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Contributed by Nicola Pero - Fri Dec 14 08:36:00 GMT 2001 */
2
#include <objc/objc.h>
3
#include <objc/Object.h>
4
 
5
#ifdef __NEXT_RUNTIME__
6
#define objc_get_class(C)                       objc_getClass(C)
7
#define class_create_instance(C)                class_createInstance(C, 0)
8
#endif
9
 
10
/* Test loading unclaimed categories - categories of a class defined
11
   separately from the class itself.  */
12
 
13
@interface TestClass
14
{
15
  id isa;
16
}
17
- (int)D;
18
@end
19
 
20
@interface TestClass (A)
21
- (int)A;
22
@end
23
 
24
@interface TestClass (B)
25
- (int)B;
26
@end
27
 
28
@interface TestClass (C)
29
- (int)C;
30
@end
31
 
32
 

powered by: WebSVN 2.1.0

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