Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.martin/overload1.C

raw
1 // { dg-do run }
2 //Overload resolution should consider both declarations of func identically.
3
4 struct S{};
5 void func(S&){}
6
7 int main()
8 {
9 void func(S&);
10 S s;
11 func(s);
12 }
13