[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git] / clang / test / Parser / switch-typo-correction.cpp
blobebf1c18f2b86a021cce44bc010e5315a80325152
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 namespace c { double xxx; } // expected-note{{'c::xxx' declared here}}
4 namespace d { float xxx; }
5 namespace z { namespace xxx {} }
7 void crash() {
8 switch (xxx) {} // expected-error{{use of undeclared identifier 'xxx'; did you mean }}