aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/ctors15.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/ctors15.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.law/ctors15.C26
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/ctors15.C b/gcc/testsuite/g++.old-deja/g++.law/ctors15.C
deleted file mode 100644
index 32da1418f3d..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.law/ctors15.C
+++ /dev/null
@@ -1,26 +0,0 @@
-// GROUPS passed constructors
-// ctor file
-// Message-Id: <9303270404.28207@munta.cs.mu.OZ.AU>
-// From: fjh@cs.mu.oz.au
-// Subject: bug with new/delete of multidimensional array
-// Date: Sat, 27 Mar 93 14:04:52 EST
-
-#include <stdio.h>
-#include <stdlib.h>
-
-int construct = 0;
-
-class Element {
-public:
- Element() { construct++; if (construct > 6) {printf ("FAIL\n"); exit(1);}}
- ~Element() { }
-};
-
-typedef Element array[2];
-
-int main() {
- array *x;
- x = new array[3];
- delete x;
- printf ("PASS\n");
-}