blob: 4e48d1d3c5c446b450882d76e5fb3678cef42f77 [file] [log] [blame]
// PR c++/82360
// { dg-do compile { target c++11 } }
class a {};
template <class> class b {
b(b &&c) : d(static_cast<a &&>(c.d)) {}
a d;
};