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