https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70769
Halalaluyafail3 <luigighiron at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |luigighiron at gmail dot com --- Comment #2 from Halalaluyafail3 <luigighiron at gmail dot com> --- Here is another example of this bug: struct S{ S()=delete,~S()=default; S&operator=(const S&)=delete,&operator=(S&&)=default; }; Multiple =delete and =default are accepted in the same declaration.