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
/
cpp0x
/
rv-func3.C
blob
673830350a10a5f4f187c63daae26e7f03285b67
1
// DR 1328
2
// { dg-do compile { target c++11 } }
3
4
template <class T> struct A {
5
operator T&(); // #1
6
operator T&&(); // #2
7
};
8
typedef int Fn();
9
A<Fn> a;
10
Fn&& f = a;