externc3.c

来自「gcc3.2.1源代码」· C语言 代码 · 共 16 行

C
16
字号
// Test that two extern "C" declarations of the same name in different// namespaces are treated as declaring the same function.namespace foo {  extern "C" int f ();}extern "C" int f () { return 0; }using namespace foo;int main (){  f ();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?