1 // RUN: clang-cc -fsyntax-only -verify %s 2 3 namespace N { }; 4 5 namespace A = N; 6 7 int B; // expected-note {{previous definition is here}} 8 namespace B = N; // expected-error {{redefinition of 'B' as different kind of symbol}} 9 10 namespace C { } // expected-note {{previous definition is here}} 11 namespace C = N; // expected-error {{redefinition of 'C'}} 12