aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin v. Löwis <loewis@gcc.gnu.org>1999-04-02 04:40:06 +0000
committerMartin v. Löwis <loewis@gcc.gnu.org>1999-04-02 04:40:06 +0000
commitca704688be290932ad47a4b1bf27a854fa9ba919 (patch)
treedca496726ce53cb6c8d249551b876ccd0321e90c /gcc
parent302a3fa615e60d708a2be7feb9e62048d18e390c (diff)
downloadgcc-ca704688be290932ad47a4b1bf27a854fa9ba919.zip
gcc-ca704688be290932ad47a4b1bf27a854fa9ba919.tar.gz
gcc-ca704688be290932ad47a4b1bf27a854fa9ba919.tar.bz2
Adopt to standard requirements.
From-SVN: r26112
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/opeq5.C8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/opeq5.C b/gcc/testsuite/g++.old-deja/g++.jason/opeq5.C
index 51b3e6e..90996e9 100644
--- a/gcc/testsuite/g++.old-deja/g++.jason/opeq5.C
+++ b/gcc/testsuite/g++.old-deja/g++.jason/opeq5.C
@@ -1,7 +1,7 @@
// Testcase for tricky synthesized op= in complex inheritance situation.
-// See discussion in g++int.texi.
-
-// execution test - XFAIL *-*-*
+// This used to test whether the virtual base was copy-assigned only once.
+// That feature is not required by ISO C++, so the test now only checks
+// whether the vbase is assigned at all.
int count = 0;
extern "C" int printf (const char *, ...);
@@ -20,7 +20,7 @@ int main()
D a, b;
a = b;
printf ("%d\n",count);
- if (count != 1)
+ if (count == 0)
return 1;
return 0;
}