[qfcc] Fix vector int tests

These too needed a horizontal or.
This commit is contained in:
Bill Currie 2023-08-29 08:04:32 +09:00
parent 327cb88af3
commit d6ec250897

View file

@ -106,6 +106,9 @@ test_expr (expr_t *e)
case ev_uint:
case ev_int:
case ev_short:
if (type->width > 1) {
e = new_horizontal_expr ('|', e, &type_int);
}
if (!is_int(type_default)) {
if (is_constant (e)) {
return cast_expr (type_default, e);