bogus tests
authorBrendan Kehoe <brendan@gcc.gnu.org>
Fri, 5 Feb 1999 12:28:26 +0000 (07:28 -0500)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Fri, 5 Feb 1999 12:28:26 +0000 (07:28 -0500)
From-SVN: r25048

gcc/testsuite/g++.old-deja/g++.law/operators1.C [deleted file]
gcc/testsuite/g++.old-deja/g++.law/operators7.C [deleted file]

diff --git a/gcc/testsuite/g++.old-deja/g++.law/operators1.C b/gcc/testsuite/g++.old-deja/g++.law/operators1.C
deleted file mode 100644 (file)
index 94a6a70..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// GROUPS passed operators
-// opr-conv file
-// excess errors test - XFAIL *-*-*
-// Message-Id: <199301040217.AA04377@cypress.ucsc.edu>
-// From: "Dean R. E. Long" <dlong@cse.ucsc.edu>
-// Subject: conversion operator bug?
-// Date: Sun, 3 Jan 1993 18:17:20 -0800
-
-#include <stdio.h>
-class B {};
-
-class A {
-    B *p;
-public:
-    A() { p = 0; }
-    operator B * () { return p; }
-    operator B & () { return *p; }
-};
-
-int main()
-{
-    A a;
-    B &b = (B &)a;
-    B *bp = (B *)a;
-    B &br = a.operator B&();
-// What's the right test?
-    exit (1);
-}
diff --git a/gcc/testsuite/g++.old-deja/g++.law/operators7.C b/gcc/testsuite/g++.old-deja/g++.law/operators7.C
deleted file mode 100644 (file)
index caa2ffe..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-// GROUPS passed operators
-// opr-as file
-// From: amichail@lambert.waterloo.edu (Amir Michail)
-// Date:     Mon, 15 Jun 1992 19:41:37 GMT
-// Subject:  inheretance bug
-// Message-ID: <AMICHAIL.92Jun15144137@lambert.waterloo.edu>
-
-#include <stdio.h>
-class window {
- public:
-  int k;
-  virtual void inc() {}
-};
-
-class window_border : public virtual window {
- public:
-  void inc () { k++; }
-};
-
-class container {
- public:
-  window_border c;
-#if 0
-  container& operator = (const container& o) {
-    this->c = o.c;
-    return *this;
-  }
-#endif
-};
-
-int main() {
-  container test, *test2;
-  void *vp;
-  test2 = new container;
-  test.c.k = 34;
-  vp = (window *)&test2->c;
-  *test2 = test;
-  test.c.k = 60;
-  if (test2->c.k == 35
-      && test.c.k == 60)
-    exit (0);
-  else
-    exit (1);
-}