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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [gdb/] [testsuite/] [gdb.objc/] [nondebug.m] - Blame information for rev 414

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

Line No. Rev Author Line
1 330 jeremybenn
#include <objc/Object.h>
2
 
3
@interface NonDebug: Object
4
{
5
}
6
@end
7
@interface NonDebug2: Object
8
{
9
}
10
@end
11
 
12
@implementation NonDebug
13
 
14
- someMethod
15
{
16
  printf("method someMethod\n");
17
  return self;
18
}
19
 
20
@end
21
@implementation NonDebug2
22
 
23
- someMethod
24
{
25
  printf("method2 someMethod\n");
26
  return self;
27
}
28
 
29
@end
30
 
31
 
32
int main (int argc, const char *argv[])
33
{
34
  id obj;
35
  obj = [NonDebug new];
36
  [obj someMethod];
37
  return 0;
38
}

powered by: WebSVN 2.1.0

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