mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[qfcc] Catch another assignment chain failure
This commit is contained in:
parent
f454842361
commit
9c5fac2226
1 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,8 @@ int test_struct_pointer (foo *bar, foo *baz)
|
||||||
baz.x, baz.y, foo_init.x, foo_init.y);
|
baz.x, baz.y, foo_init.x, foo_init.y);
|
||||||
ret |= 1;
|
ret |= 1;
|
||||||
}
|
}
|
||||||
|
*bar = foo_init;
|
||||||
|
*baz = foo_init;
|
||||||
*bar = *baz = nil;
|
*bar = *baz = nil;
|
||||||
if (bar.x || baz.x || bar.y || baz.y) {
|
if (bar.x || baz.x || bar.y || baz.y) {
|
||||||
printf ("test_struct: bar={%d %g} baz={%d %g}\n",
|
printf ("test_struct: bar={%d %g} baz={%d %g}\n",
|
||||||
|
|
Loading…
Reference in a new issue