Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
ref-qual9.C
blob: cdb8d68568dababf726e5164e6d1ca08ebc8c52a [
file
] [
log
] [
blame
]
// PR c++/57064
// { dg-require-effective-target c++11 }
template
<
class
T
>
T
&&
move
(
T
&
t
);
struct
A
{
void
p
()
&;
int
p
()
&&;
};
void
g
(
A
&&
a
)
{
int
i
=
move
(
a
).
p
();
}