re PR c++/32241 (ICE trying to call x.~X(); in a template)