blob: b4d86689cf5d26953a7e05d4d8d25c7f58b3c03d [file] [log] [blame]
// PR c++/87729
// { dg-additional-options -Woverloaded-virtual }
struct S1 { virtual void f(); };
struct S2: S1 {};
struct S3: S1 {};
struct S4: S2, S3 { void f(); };