Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / warning4.C
blob9f50ff2c24279a9e446acae08aba304f5b18b010
1 // { dg-do assemble  }
2 // { dg-options "-Woverloaded-virtual" }
3 // Bug: a virtual function with the same name in an unrelated class will
4 // cause a bogus overloading warning.
6 struct A {
7   virtual void foo ();
8 };
10 struct B {
11   virtual void bar ();
14 struct C: public A {
15   virtual void bar  ();