https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729
--- Comment #2 from Daniel Fruzynski <bugzi...@poradnik-webmastera.com> --- Here you are: [code] class Foo { public: virtual void f(int); }; class Bar : public Foo { public: virtual void f(short); }; [/code]