X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fcopy2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fcopy2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=2fb52a1ece2b4d86e570d78d5a8c40d4f48d9282;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 index 2fb52a1e..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/copy2.C +++ /dev/null @@ -1,21 +0,0 @@ -// Origin: Mark Mitchell - -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; -}