> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.1.75 #1-NixOS SMP PREEMPT_DYNAMIC Thu Jan 25 23:27:52 UTC 2024 x86_64 GNU/Linux
 19:54:24  up 1 day  5:30,  2 users,  load average: 0.58, 0.75, 0.81
This commit is contained in:
tracer-ysyx 2024-02-08 19:54:24 +08:00 committed by xinyangli
parent a85a65873f
commit 2c5ef67d8e

View file

@ -154,6 +154,8 @@ struct {
{"$ra", 0x1},
{"0x2 + 4*-$a7", 0xFFFFFFBEU},
{"0x1831/$gp + 13", 2077U},
{"$$0 == 123", 0},
{"$$0 == 0", 1},
};
START_TEST(test_expr_negative_operand) {
yy_scan_string(exprs[_i].expr);