forked from OSchip/llvm-project
10 lines
306 B
C++
10 lines
306 B
C++
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
namespace A = B; // expected-error{{namespace name}}
|
|
|
|
namespace A = !; // expected-error {{expected namespace name}}
|
|
namespace A = A::!; // expected-error {{expected namespace name}} \
|
|
// expected-error{{use of undeclared identifier 'A'}}
|
|
|
|
|