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