1 // Core Issue #1331 (const mismatch with defaulted copy constructor)
2 // { dg-do compile { target c++11 } }
7 // So that W wouldn't have had "const W&" copy ctor if it were
8 // implicitly declared.
12 template<typename T> struct W
15 // This should now compile and be =deleted.
16 W(const W&) = default;