------- Comment #7 from rguenth at gcc dot gnu dot org  2009-07-13 11:59 -------
Your example is overriding A::f, not overloading it.  Overloading would be

  int f(int x, int y);

do you want a warning for that as well?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31397

Reply via email to