Daily bump.
[gcc.git] / gcc / testsuite / obj-c++.dg / extern-c-1.mm
1 /* Test extern c support inside @implementation */
2 /* Devang Patel <dpatel@apple.com>. */
3 // { dg-additional-options "-Wno-objc-root-class" }
4
5 #include <objc/objc.h>
6
7 @interface Extern
8 @end
9
10 @implementation Extern
11
12 extern "C" void NSRegisterElement(id element);
13
14 - init {
15 NSRegisterElement(self);
16 return self;
17 }
18
19 @end