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
/
friend26.C
blob
3cf659df402c0235534286348201e95de6f2c28a
1
// PR c++/14359
2
3
template<typename> struct A {};
4
5
template<typename> struct B
6
{
7
template<typename T> friend void foo(const A<T>& a, const B&) { a; }
8
};
9
10
void bar()
11
{
12
A<void> a;
13
B<void> b;
14
foo(a,b);
15
}