diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/temporary.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/temporary.C | 19 |
1 files changed, 0 insertions, 19 deletions
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 168bfe9103e..00000000000 --- 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; -} |