aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2004-06-27 22:42:49 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-06-27 22:42:49 +0000
commit59d4a5007e361e2250ad0a060c8b4b49565f2b74 (patch)
treeab9e47131ab6070d85c18739d926920775188677 /gcc
parent934d729b9539853ab33c8bdbff209fe4692d0797 (diff)
downloadgcc-59d4a5007e361e2250ad0a060c8b4b49565f2b74.zip
gcc-59d4a5007e361e2250ad0a060c8b4b49565f2b74.tar.gz
gcc-59d4a5007e361e2250ad0a060c8b4b49565f2b74.tar.bz2
* g++.old-deja/g++.mike/p7325.C: Remove.
From-SVN: r83749
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/g++.old-deja/g++.mike/p7325.C56
2 files changed, 5 insertions, 57 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 034987d..77d07bf 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-06-27 Zack Weinberg <zack@codesourcery.com>
+
+ * g++.old-deja/g++.mike/p7325.C: Remove.
+
2004-06-27 Andrew Pinski <pinskia@physics.uc.edu>
PR c/14963
@@ -126,7 +130,7 @@
to fix type error.
* gfortran.fortran-torture/execute/intrinsic_associated.f90:
Remove trailing spaces.
-
+
2004-06-21 Richard Henderson <rth@redhat.com>
* gcc.dg/tree-ssa/20030714-1.c: Rename variables to avoid
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p7325.C b/gcc/testsuite/g++.old-deja/g++.mike/p7325.C
deleted file mode 100644
index 621adeb..0000000
--- a/gcc/testsuite/g++.old-deja/g++.mike/p7325.C
+++ /dev/null
@@ -1,56 +0,0 @@
-// { dg-do run { xfail *-*-* } }
-// I hate this type of test case. I'm not sure how to code it better.
-// See the PR for what this tests.
-// prms-id: 7325
-
-int fail = 0;
-
-struct A {
- int i;
- static const A* match_this;
- static const A* match_arg;
- A(): i(7) {
- if (match_this)
- if (match_this != this)
- fail = 1;
- }
- A* get_this() { return this; }
- A& operator = (const A& o) {
- if (match_this)
- if (match_this != this)
- fail = 1;
- if (match_arg)
- if (match_arg != &o)
- fail = 1;
- match_arg = &o;
- return *this;
- }
-};
-
-const A* A::match_this;
-const A* A::match_arg;
-A a;
-
-A foo() { return a; }
-void f ()
-{
- A a;
- A::match_this = &a;
- a = foo ();
- a = foo ();
- A::match_this = 0;
-}
-
-void g ()
-{
- A::match_this = A().get_this();
- A();
- A();
- A::match_this = 0;
-}
-
-int main() {
- f();
- g();
- return fail;
-}