Give test a better name, add some glue for the test harness
authorZack Weinberg <zack@gcc.gnu.org>
Wed, 2 Feb 2000 04:45:58 +0000 (04:45 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Wed, 2 Feb 2000 04:45:58 +0000 (04:45 +0000)
From-SVN: r31749

gcc/testsuite/g++.old-deja/g++.other/dotstar.C [deleted file]
gcc/testsuite/g++.old-deja/g++.other/ptrmem6.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.old-deja/g++.other/dotstar.C b/gcc/testsuite/g++.old-deja/g++.other/dotstar.C
deleted file mode 100644 (file)
index 9a00280..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-// Build don't link:
-
-extern double *y;
-extern double *x;
-extern int nPoints;
-
-void SetInitCond(void)
-{
-  int i;
-  for(i = 2; i < nPoints; ++i)
-    y[i] = y[nPoints] .* (x[i]-x[1]) / (x[nPoints]-x[1]);
-}
diff --git a/gcc/testsuite/g++.old-deja/g++.other/ptrmem6.C b/gcc/testsuite/g++.old-deja/g++.other/ptrmem6.C
new file mode 100644 (file)
index 0000000..3e9db8d
--- /dev/null
@@ -0,0 +1,16 @@
+// Build don't link:
+// crash test - XFAIL *-*-*
+
+// Copyright (c) 2000 Free Software Foundation.
+// Distilled from a bug report by Eric Ford <eford@princeton.edu>
+
+extern double *y;
+extern double *x;
+extern int nPoints;
+
+void SetInitCond(void)
+{
+  int i;
+  for(i = 2; i < nPoints; ++i)
+    y[i] = y[nPoints] .* (x[i]-x[1]) / (x[nPoints]-x[1]);  // ERROR
+}