2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.martin / overload1.C
blob782c8bf4efc72676fa97c812c2478b79e5d7d83b
1 // { dg-do run  }
2 //Overload resolution should consider both declarations of func identically.
4 struct S{};
5 void func(S&){}
7 int main()
9   void func(S&);
10   S s;
11   func(s);