Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.ns / using12.C
blob057457c708713cb151ca8b98fae9edc2ac1b7fd9
1 // { dg-do assemble  }
2 // Origin: Brendan Kehoe <brendan@cygnus.com>
4 namespace foo
6   void x (bool);     // { dg-error "" } candidates
7   void x (char);     // { dg-error "" } candidates
8   void x (int);      // { dg-error "" } candidates
9   void x (double);   // { dg-error "" } candidates
12 namespace baz { void x (int); }  // { dg-error "" } candidates
14 void fn (int i)
16   using foo::x;
17   using baz::x;
18   x(i);          // { dg-error "" } ambiguous