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

--- Comment #17 from AK <hiraditya at msn dot com> ---
The following workarounds do not emit compiler errors, although I'm not sure if
second option is a correct workaround.

1. this->~X();
2. X::~X(0);

FYI,
ICC 18 also has the same bug. The first workaround works for ICC but not the
second one.

Reply via email to