Include test for 2d vector expressions

This commit is contained in:
Bill Currie 2019-07-06 14:49:28 +09:00
parent c727f6a130
commit c3fa78ef4d

View file

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