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
/
template
/
koenig2.C
blob
be072a4a0ec6c0d9fe245028befb4a61f2ba9697
1
namespace nsp_foo {
2
3
struct A {};
4
5
struct foo {};
6
7
}
8
9
namespace nsp_bar {
10
11
void foo(nsp_foo::A) {}
12
13
template <class T>
14
void bar(T t)
15
{
16
nsp_bar::foo(t); // line 16
17
}
18
19
}
20
21
int main()
22
{
23
nsp_bar::bar(nsp_foo::A());
24
}
25