https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86094
Azat <a3at.mail at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |a3at.mail at gmail dot com --- Comment #12 from Azat <a3at.mail at gmail dot com> --- Shouldn't such case also be warned by `g++ -Wabi=12` ? struct noncopyable { public: noncopyable(noncopyable &&) = default; }; struct S : public noncopyable { int i; }; void foo(S s) {}