Commit ca704688 by Martin v. Löwis

Adopt to standard requirements.

From-SVN: r26112
parent 302a3fa6
// Testcase for tricky synthesized op= in complex inheritance situation. // Testcase for tricky synthesized op= in complex inheritance situation.
// See discussion in g++int.texi. // 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
// execution test - XFAIL *-*-* // whether the vbase is assigned at all.
int count = 0; int count = 0;
extern "C" int printf (const char *, ...); extern "C" int printf (const char *, ...);
...@@ -20,7 +20,7 @@ int main() ...@@ -20,7 +20,7 @@ int main()
D a, b; D a, b;
a = b; a = b;
printf ("%d\n",count); printf ("%d\n",count);
if (count != 1) if (count == 0)
return 1; return 1;
return 0; return 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment