2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / using13.C
blob29867deaaaf185fa7184f76bca80452cbc738055
1 // { dg-do run  }
2 namespace A{
3  void foo(int){}
5 namespace B{
6   void foo(bool){}
9 void bar()
11   using B::foo;
12   using A::foo;
13   foo(true);
16 namespace Foo {
17   template<class N> void Hello(N) {}
20 int main() {
21   using Foo::Hello;
22   Hello(4);
23   bar();