8sa1-gcc/gcc/testsuite/objc.dg/special/unclaimed-category-1.h
2001-12-17 17:27:08 +00:00

28 lines
399 B
Objective-C

/* Contributed by Nicola Pero - Fri Dec 14 08:36:00 GMT 2001 */
#include <objc/objc.h>
#include <objc/Object.h>
/* Test loading unclaimed categories - categories of a class defined
separately from the class itself. */
@interface TestClass
{
id isa;
}
- (int)D;
@end
@interface TestClass (A)
- (int)A;
@end
@interface TestClass (B)
- (int)B;
@end
@interface TestClass (C)
- (int)C;
@end