]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/temporary.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / temporary.C
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 (file)
index 168bfe9..0000000
+++ /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;
-}