https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122681

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>Pls, check yourself whether 15.2 or earlier fail also with .f() instead of 
>.~S().

Yes f() does not ICE with any version, only the destructor .

Reply via email to