2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / koenig4.C
blobd26bd130e1573da1f85e7b311cae93879022dbdf
1 // { dg-do run  }
2 void f();
3 void f(int);
5 namespace A{
6   struct S{
7     void f();
8     void f(S);
9   };
10   void f(S&){}
11   void h(S&){}
14 template<class T>
15 void g(T t){
16   f(t);
19 int main()
21   A::S s;
22   f(s);
23   g(s);
24   h(s);