repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.martin
/
overload1.C
blob
782c8bf4efc72676fa97c812c2478b79e5d7d83b
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