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
/
pr70610-4.C
blob
127abdc44e36f410b50ef309999e25a3c3372945
1
// PR c++/70610
2
// { dg-do link }
3
4
struct A { void operator+ (const A &) { }; };
5
6
void operator+ (const A &, A &);
7
8
template <typename T>
9
void
10
foo ()
11
{
12
A () + A ();
13
}
14
15
int
16
main ()
17
{
18
foo<int> ();
19
}