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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [gdb/] [testsuite/] [gdb.objc/] [nondebug.m] - Rev 816

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

#include <objc/Object.h>
 
@interface NonDebug: Object
{
}
@end
@interface NonDebug2: Object
{
}
@end
 
@implementation NonDebug
 
- someMethod
{
  printf("method someMethod\n");
  return self;
}
 
@end
@implementation NonDebug2
 
- someMethod
{
  printf("method2 someMethod\n");
  return self;
}
 
@end
 
 
int main (int argc, const char *argv[])
{
  id obj;
  obj = [NonDebug new];
  [obj someMethod];
  return 0;
}
 

Go to most recent revision | 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.