☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Parser
/
switch-typo-correction.cpp
☽
☼
clang/test/Parser/switch-typo-correction.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
namespace c { double xxx; }
4
namespace d { float xxx; }
5
namespace z { namespace xxx {} }
6
7
void crash() {
8
switch (xxx) {} // expected-error{{use of undeclared identifier 'xxx'}}
9
}