blob: 92f8327b9d0573f44e51577384a387b7888d2f14 [file] [log] [blame]
// PR c++/87729
// { dg-additional-options -Wall }
class Foo
{
public:
virtual void f(int); // { dg-warning "hidden" }
};
class Bar : public Foo
{
public:
virtual void f(short); // { dg-message "by" }
};