This does not appear to be the case. The code in question is not calling the constructor that throws! It's still calling
int main(){S s;}
If you change it to: int main(){S s(42);}
It will throw and not call the destructor (both latest clang and gcc).See for example https://godbolt.org/z/ohjchhGvz