X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fcleanup1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fcleanup1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=fd4dc6e4db08a3d1ef2c596f6a3ea99b28087a95;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/cleanup1.C b/gcc/testsuite/g++.old-deja/g++.other/cleanup1.C deleted file mode 100644 index fd4dc6e4..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/cleanup1.C +++ /dev/null @@ -1,20 +0,0 @@ -// Bug: fold is too eager about pushing down CLEANUP_POINT_EXPR. - -int d; - -struct A { - A() { } - ~A() { d = 1; } -}; - -int f (const A& a) -{ - return 1; -} - -int main () -{ - if (f (A()) && d == 0) - return 0; - return 1; -}