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] - Rev 12

Compare with Previous | Blame | View Log

/* 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.  */
 
#include "unclaimed-category-1.h"
 
@implementation TestClass (A)
- (int)A
{
  return 1;
}
@end
 
@implementation TestClass (B)
- (int)B
{
  return 2;
}
@end
 
@implementation TestClass (C)
- (int)C
{
  return 3;
}
@end
 
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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