[qfcc] Catch another assignment chain failure

This commit is contained in:
Bill Currie 2020-03-12 19:53:15 +09:00
parent f454842361
commit 9c5fac2226
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ int test_struct_pointer (foo *bar, foo *baz)
baz.x, baz.y, foo_init.x, foo_init.y);
ret |= 1;
}
*bar = foo_init;
*baz = foo_init;
*bar = *baz = nil;
if (bar.x || baz.x || bar.y || baz.y) {
printf ("test_struct: bar={%d %g} baz={%d %g}\n",