template<typenameT>voidg(T*);// expected-error{{cannot overload a member function without a ref-qualifier with a member function with ref-qualifier '&'}}
voidk();// expected-note{{previous declaration}}
voidk()&&;// expected-error{{cannot overload a member function with ref-qualifier '&&' with a member function without a ref-qualifier}}