summaryrefslogtreecommitdiffstats
path: root/test/CXX/dcl.dcl/basic.namespace/namespace.def/p2.cpp
blob: 943e05322d253899b04fe332c3f44c7103fcf967 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

// PR8430
namespace N {
  class A { };
}

namespace M { }

using namespace M;

namespace N {
  namespace M {
  } 
}

namespace M {
  namespace N {
  }
}

namespace N {
  A *getA();
}
OpenPOWER on IntegriCloud