X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Foffset2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Foffset2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=1ce6386446d39897c261900324c846faf4658f18;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.jason/offset2.C b/gcc/testsuite/g++.old-deja/g++.jason/offset2.C deleted file mode 100644 index 1ce63864..00000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/offset2.C +++ /dev/null @@ -1,23 +0,0 @@ -// PRMS Id: 5070 (testcase 2) - -int status = 1; - -struct foo { - foo& operator= (const foo&) { status = 0; return *this; } -}; - -struct xx { - foo a; -}; - -struct yy : public xx { - yy(foo& a) { xx::a = a; } -}; - -int main() -{ - foo f; - yy y (f); - - return status; -}