// PR c++/82360 // { dg-do compile { target c++11 } } class a {}; template class b { b(b &&c) : d(static_cast(c.d)) {} a d; };