aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/dtors4.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/dtors4.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.law/dtors4.C22
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/dtors4.C b/gcc/testsuite/g++.old-deja/g++.law/dtors4.C
deleted file mode 100644
index 6168c0dd21c..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.law/dtors4.C
+++ /dev/null
@@ -1,22 +0,0 @@
-// GROUPS passed destructors
-#include <stdio.h>
-
-int destruct = 2;
-
-class a {
- public:
- char *p;
- a(){ ; }
- ~a(){ destruct--; if (! destruct) printf ("PASS\n");}
-};
-
-a test(){
- return a();
-}
-
-int main(){
- a ai;
-
- ai = test();
-}
-