From 9c5fac2226e1ec22da8a7665451c5ce15e5c75d5 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 12 Mar 2020 19:53:15 +0900 Subject: [PATCH] [qfcc] Catch another assignment chain failure --- tools/qfcc/test/assignchain.r | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/qfcc/test/assignchain.r b/tools/qfcc/test/assignchain.r index 1e9b8eb8d..454279f45 100644 --- a/tools/qfcc/test/assignchain.r +++ b/tools/qfcc/test/assignchain.r @@ -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",