Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
)
);
}
};