using18.c

来自「用于进行gcc测试」· C语言 代码 · 共 21 行

C
21
字号
// Copyright (C) 2007 Free Software Foundation// Contributed by Ollie Wild <aaw@google.com>// { dg-do compile }namespace N1 {  void f ();  struct f; // { dg-error "" "candidate" }}namespace N2 {  void f (int);  struct f; // { dg-error "" "candidate" }}namespace M {  using namespace N1;  using namespace N2;}using M::f; // { dg-error "ambiguous" }

⌨️ 快捷键说明

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