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();
}