https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82780

--- Comment #1 from sgunderson at bigfoot dot com ---
Here's a version that's valid C++:

class a {
};
template <class b> class c {          c(c &&e)       : a(static_cast<a &&>
(e.d)) {}          a d; };

Reply via email to