]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/virtual4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / virtual4.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/virtual4.C b/gcc/testsuite/g++.old-deja/g++.other/virtual4.C
deleted file mode 100644 (file)
index 8a44ee1..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// Build don't link:
-
-class A {
-public:
-  virtual int foo() = 0; // ERROR - original definition
-};
-
-class B {
-public:
-    virtual double foo() = 0;
-};
-
-class C
-  : public A, public B
-{
-public:
-  virtual double foo() { return 2; } // ERROR - conflicting return type
-};
-
-class D
-  : public B, public A
-{
-public:
-  virtual double foo() { return 2; } // ERROR - conflicting return type
-};