📄 using17.c
字号:
// Copyright (C) 2007 Free Software Foundation// Contributed by Ollie Wild <aaw@google.com>// { dg-do compile }namespace M { struct S {}; // { dg-error "struct M::S" "candidate 2" }}int S;struct S {}; // { dg-error "candidates are: struct S" "candidate 1" }using namespace M;struct S s; // { dg-error "reference to 'S' is ambiguous|invalid type in declaration" "" }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -