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
/
move1.C
blob
5b9b17ebe67c4f2b23cb440c27ab57442a041abc
1
// { dg-do compile { target c++11 } }
2
3
#include <utility>
4
5
class A { };
6
7
static void g ( A && ) { }
8
9
template < class T > class B {
10
public:
11
void f ( ) {
12
A a;
13
g ( std :: move ( a ) );
14
}
15
};