https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111426
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
These are two different diagnostics.
One error is about using deleted D::D() and explains why it is deleted, the
other is about using deleted D::~D() and explains why it is deleted.
Do you mean we shouldn't diagnose using deleted D::~D() when we already
diagnosed some other special member (D::D() in that case)?