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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
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