Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
move1.C
blob: 5b9b17ebe67c4f2b23cb440c27ab57442a041abc [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
#include
<utility>
class
A
{
};
static
void
g
(
A
&&
)
{
}
template
<
class
T
>
class
B
{
public
:
void
f
(
)
{
A a
;
g
(
std
::
move
(
a
)
);
}
};