X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Ftemporary.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Ftemporary.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=168bfe9103e18678f1cc79af26cb9a48c7dc4d77;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.jason/temporary.C b/gcc/testsuite/g++.old-deja/g++.jason/temporary.C deleted file mode 100644 index 168bfe91..00000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/temporary.C +++ /dev/null @@ -1,19 +0,0 @@ -// From: bruno@isoft.com.ar (Bruno R. Depascale) -// Subject: No destructor bug -// Date: Mon, 14 Feb 1994 12:49:45 -0300 (Arg) - -// Bug: temporaries created with constructor notation aren't destroyed. - -int count = 0; - -class A { -public: - A() { ++count; } - ~A() { --count; } -}; - -int main() -{ - A(); - return count; -}