aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/temps3.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/temps3.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.law/temps3.C28
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/temps3.C b/gcc/testsuite/g++.old-deja/g++.law/temps3.C
deleted file mode 100644
index 48e449813b4..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.law/temps3.C
+++ /dev/null
@@ -1,28 +0,0 @@
-// GROUPS passed temps
-// temps file
-// Message-Id: <9308231535.AA19432@geant.cenatls.cena.dgac.fr>
-// From: chatty@geant.cenatls.cena.dgac.fr (Stephane CHATTY)
-// Subject: g++ 2.4.5 does not destroy temporaries
-// Date: Mon, 23 Aug 93 17:35:34 +0200
-
-#include <stdio.h>
-
-class A {
-public:
- int a;
- A (int i) : a (i) { ;}
- A (const A& aa) : a (aa.a) { ;}
- ~A () { printf ("PASS\n");; }
-};
-
-A
-foo ()
-{
- return A (10);
-}
-
-int main ()
-{
- int x = foo ().a;
-}
-