[qfcc] Use correct vector expression size in test

Vector expressions no longer auto-widen due to the new vector types (I
might add such later, but for now this lets the tests try to build
(minus actual fixes in qfcc)).
This commit is contained in:
Bill Currie 2022-04-29 15:20:37 +09:00
parent f429777918
commit bf53edf5e3

View file

@ -39,8 +39,8 @@ main ()
printf("t3(5) = %v\n", v);
ret |= 1;
}
v = [x, y] / 2;
if (v != [2, 2.5]) {
v = [x, y, 0] / 2;
if (v != [2, 2.5, 0]) {
printf("v = %v\n", v);
ret |= 1;
}