aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p6-cxx0x.cpp
blob: f86f8fb57907267b58ff9370ffca68709c49fb37 (plain)
1
2
3
4
5
6
7
8
// RUN: clang-cc -fsyntax-only -verify %s
// C++0x N2914.

namespace A {
  namespace B { }
}

using A::B; // expected-error{{using declaration can not refer to namespace}}