freebsd-nq/test/SemaCXX/using-decl-pr4450.cpp

17 lines
166 B
C++
Raw Normal View History

2010-01-01 10:34:51 +00:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
2009-06-27 10:45:02 +00:00
namespace A {
void g();
}
namespace X {
using A::g;
}
void h()
{
A::g();
X::g();
}