| 1 |
// RUN: %clang_cc1 -fsyntax-only -verify %s |
| 2 |
|
| 3 |
namespace c { double xxx; } // expected-note{{'c::xxx' declared here}} |
| 4 |
namespace d { float xxx; } |
| 5 |
namespace z { namespace xxx {} } |
| 6 |
|
| 7 |
void crash() { |
| 8 |
switch (xxx) {} // expected-error{{use of undeclared identifier 'xxx'; did you mean }} |
| 9 |
} |