https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82360
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> --- I don't think this is still C++ code, but it does seem to provoke the error: class a { } template <b> class c { c(c &&e) : (static_cast a && e.d; a d