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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I'm far more concerned about the fact that "error: initializer specified for
non-virtual method 'void A::h()'" talks about an "initializer" instead of a
pure specifier, and talks about a "method" instead of a member function.

And saying "invalid pure specifier" for a non-member function isn't helpful,
the problem is not that 0u is invalid, the problem is that any pure specifier
on a non-member function is invalid.

Reply via email to