llvm-for-llvmta/tools/clang/test/SemaCXX/using-decl-pr4450.cpp

17 lines
166 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
namespace A {
void g();
}
namespace X {
using A::g;
}
void h()
{
A::g();
X::g();
}