1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // C++0x N2914.
3 
4 namespace A {
5   namespace B { }
6 }
7 
8 using A::B; // expected-error{{using declaration cannot refer to namespace}}
9