URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [obj-c++.dg/] [extern-c-1.mm] - Rev 324
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test extern c support inside @implementation */
/* Devang Patel <dpatel@apple.com>. */
#include <objc/objc.h>
@interface Extern
@end
@implementation Extern
extern "C" void NSRegisterElement(id element);
- init {
NSRegisterElement(self);
return self;
}
@end
Go to most recent revision | Compare with Previous | Blame | View Log