]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/warning4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / warning4.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/warning4.C b/gcc/testsuite/g++.old-deja/g++.jason/warning4.C
deleted file mode 100644 (file)
index a4eb4ac..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// 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  ();
-};