https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103879
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- MSVC also rejects it: example.cpp <source>(14): error C2131: expression did not evaluate to a constant <source>(10): note: failure was caused by call of undefined function or one not declared 'constexpr' <source>(10): note: see usage of 'S::~S'