FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / lookup5.C
blobc83b50a9779b1a7a058e276c2e72fd7dcb75b593
1 // Build don't link: 
2 namespace A{
3   void f();
6 namespace B{
7   using namespace A;
8   void f(int);                  // ERROR - referenced below
11 using namespace B;
13 void g()
15   ::f();               // ERROR - A::f is not found
18 using namespace A;
20 void g1()
22   ::f();               // ok, it is found now