https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80553
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> --- __has_trivial_destructor(Foo) returns true for Foo which has a deleted destructor (clang, gcc and the standard agree on this). That's bound to confuse people forever, but I guess there's nothing we can do about it :-(