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

--- Comment #18 from Rolf Eike Beer <eb at emlix dot com> ---
I would have expected something that is more like the error message in this
case:

class foo {
  static void bar() const;
};

error: static member function ‘static void foo::bar()’ cannot have cv-qualifier

Reply via email to