repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
tc1
/
dr164.C
blob
026ec096fb3aaf7e07be0c584d89320e2424c150
1
// { dg-do link }
2
// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3
// DR164: Overlap between Koenig and normal lookup
4
5
void f(int);
6
7
template <class T> void g(T t) {
8
f(t);
9
}
10
11
enum E { e };
12
13
void f(E) {}
14
15
int main() {
16
g(e);
17
}