2010-07-26 12:08:02 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2009-03-28 12:07:16 +08:00
|
|
|
|
2010-07-26 12:08:02 +08:00
|
|
|
namespace A = B; // expected-error{{namespace name}}
|
2009-03-28 12:07:16 +08:00
|
|
|
|
|
|
|
namespace A = !; // expected-error {{expected namespace name}}
|
2010-07-26 12:08:02 +08:00
|
|
|
namespace A = A::!; // expected-error {{expected namespace name}} \
|
|
|
|
// expected-error{{use of undeclared identifier 'A'}}
|
2009-03-28 12:07:16 +08:00
|
|
|
|
|
|
|
|