OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
patch for PR rtl-optimization/25130
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
extern-c-1.mm
1
/* Test extern c support inside @implementation */
2
/* Devang Patel <dpatel@apple.com>. */
3
4
#include <objc/objc.h>
5
6
@interface Extern
7
@end
8
9
@implementation Extern
10
11
extern "C" void NSRegisterElement(id element);
12
13
- init {
14
NSRegisterElement(self);
15
return self;
16
}
17
18
@end