OSDN Git Service

New test case
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.martin / overload1.C
1 //Overload resolution should consider both declarations of func identically.
2
3 struct S{};
4 void func(S&){}
5
6 int main()
7 {
8   void func(S&);
9   S s;
10   func(s);
11 }
12