summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/using-decl-pr4450.cpp
blob: 4f929ad15f5f4aea17c4211d7fd4e75d247b2726 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang_cc1 -fsyntax-only -verify %s

namespace A {
  void g();
}

namespace X {
  using A::g; 
}

void h()
{
  A::g();
  X::g();
}