]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/copy2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / copy2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/copy2.C b/gcc/testsuite/g++.old-deja/g++.other/copy2.C
deleted file mode 100644 (file)
index 2fb52a1..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-int i;
-
-struct B {
-  B () {}
-  B (B&) { i = 1; }
-  B (const B&) { i = 2; }
-};
-
-struct D : public B {
-  D () {}
-};
-
-int main ()
-{
-  D d;
-  D d2 (d);
-  if (i != 2)
-    return 1;
-}