☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.martin
/
overload1.C
☽
☼
gcc/testsuite/g++.old-deja/g++.martin/overload1.C
code
plain
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