blob: a4eb4ac7d41eeef8ee2917ad84f9b27b58387fc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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 ();
};
|