externc3.c
来自「用于进行gcc测试」· C语言 代码 · 共 17 行
C
17 行
// { dg-do run }// 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 + -
显示快捷键?