]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.bob/inherit2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.bob / inherit2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.bob/inherit2.C b/gcc/testsuite/g++.old-deja/g++.bob/inherit2.C
deleted file mode 100644 (file)
index a7aa4fe..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Build don't link:
-#include <stdlib.h>
-
-class A {
-public:
-  void z();
-  A(void) {}
-private:
-  A(const A &) { abort(); } // ERROR - 
-  const A& operator =(const A &) { abort(); }
-};
-
-class B : public A {
-public:
-  B(void) {}
-};
-
-void f(B b) {
-};
-
-void g() {
-  B h;
-  f(h); // ERROR - 
-}