using9.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 22 行
C
22 行
// Build don't link:// // Copyright (C) 2000 Free Software Foundation, Inc.// Contributed by Nathan Sidwell 26 Feb 2001 <nathan@codesourcery.com>// Bug 75. using declarations cannot introduce functions which ambiguate// those in the current namespace, BUT here we're reaccessing the current// namespace -- the function is not being 'introduced'.extern int a();struct x {};using ::x;using ::a;extern "C" void foo ();namespace { extern "C" int foo (); using ::foo; // ERROR - already in use}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?