1 // Core Issue #1331 (const mismatch with defaulted copy constructor)
2 // { dg-do compile { target c++11 } }
10 template<typename T> struct W
14 // T1 and T2 may have differing ref-qualifiers (copy assign op).
15 constexpr W& operator=(const W&) && = default; // { dg-error "defaulted" "" { target c++11_down } }