New test case.

From-SVN: r21212
This commit is contained in:
Martin v. Löwis 1998-07-16 01:07:25 +00:00
parent e00a24fa25
commit 439041b917
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
// Build don't link:
namespace A{
void f();
}
namespace B{
using namespace A;
void f(int);
}
using namespace B;
void g()
{
::f(); // ERROR - A::f is not found
}
using namespace A;
void g1()
{
::f(); // ok, it is found now
}