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
/
ref-qual9.C
blob
cdb8d68568dababf726e5164e6d1ca08ebc8c52a
1
// PR c++/57064
2
// { dg-require-effective-target c++11 }
3
4
template <class T> T&& move(T& t);
5
6
struct A {
7
void p() &;
8
int p() &&;
9
};
10
11
void g(A &&a)
12
{
13
int i = move(a).p();
14
}