]> gcc.gnu.org Git - gcc.git/commitdiff
Adopt to standard requirements.
authorMartin v. Löwis <loewis@gcc.gnu.org>
Fri, 2 Apr 1999 04:40:06 +0000 (04:40 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Fri, 2 Apr 1999 04:40:06 +0000 (04:40 +0000)
From-SVN: r26112

gcc/testsuite/g++.old-deja/g++.jason/opeq5.C

index 51b3e6e237caa130c8b89b20556c92e2349f53ab..90996e9699869177514f5d96e9385e836bec8a3a 100644 (file)
@@ -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;
 }
This page took 0.063633 seconds and 5 git commands to generate.