https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55120
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
CC| |richard-gccbugzilla@metafoo
| |.co.uk
Keywords| |accepts-invalid
Last reconfirmed| |2021-01-29
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #9)
> I still don't know what the correct behaviour is.
My comment crossed with Anthony's, but he confirms that the code is invalid, so
confirming as accepts-invalid.
It looks like Clang has a bug with the inaccessible constructor too, and
strangely inconsistent handling of the inaccessible destructor.