blob: a4eb4ac7d41eeef8ee2917ad84f9b27b58387fc8 [file] [log] [blame]
// Bug: a virtual function with the same name in an unrelated class will
// cause a bogus overloading warning.
// Special g++ Options: -Woverloaded-virtual
// Build don't link:
struct A {
virtual void foo ();
};
struct B {
virtual void bar ();
};
struct C: public A {
virtual void bar ();
};