PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / defaulted59.C
blob4f871d7f5b16bbe898c46a3189f9637d8a0c4b4a
1 // Core Issue #1331 (const mismatch with defaulted copy constructor)
2 // { dg-do compile { target c++11 } }
4 struct M
6   M(M&) = default;
7 };
9 struct W : public M
11   W(const W&) = default;