X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Fopeq2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Fopeq2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=9e91ab3ae0fac255a96eafb2e8f403c599a4a88f;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.jason/opeq2.C b/gcc/testsuite/g++.old-deja/g++.jason/opeq2.C deleted file mode 100644 index 9e91ab3a..00000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/opeq2.C +++ /dev/null @@ -1,26 +0,0 @@ -// Bug: default operator= is not being generated properly. -// PRMS Id: 3525 -// Build don't link: - -struct ccUnwind -{ - ccUnwind& operator = (const ccUnwind&); -}; - -struct ccEllipseUnit -{ - ccEllipseUnit () {} -}; - -struct ccEllipse : ccUnwind -{ - ccEllipse (); - ccEllipse (const ccEllipseUnit&); - -}; - -void foo () -{ - ccEllipse e; - e = ccEllipseUnit(); // gets bogus error - assignment not defined -}