Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.ns / lookup5.C
blob914f3b3d8d63b787e00b733d5139543a54358d6e
1 // { dg-do assemble  }
2 namespace A{
3   void f();
6 namespace B{
7   using namespace A;
8   void f(int);                  // { dg-error "" } referenced below
11 using namespace B;
13 void g()
15   ::f();               // { dg-error "" } A::f is not found
18 using namespace A;
20 void g1()
22   ::f();               // ok, it is found now