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++.ns
/
koenig4.C
blob
d26bd130e1573da1f85e7b311cae93879022dbdf
1
// { dg-do run }
2
void f();
3
void f(int);
4
5
namespace A{
6
struct S{
7
void f();
8
void f(S);
9
};
10
void f(S&){}
11
void h(S&){}
12
}
13
14
template<class T>
15
void g(T t){
16
f(t);
17
}
18
19
int main()
20
{
21
A::S s;
22
f(s);
23
g(s);
24
h(s);
25
}