// PR c++/87530 // { dg-do compile { target c++11 } } struct Base { }; template struct A : Base { A(); A(Base&&); }; A foo() { A v; return v; }