> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.1.71 #1-NixOS SMP PREEMPT_DYNAMIC Fri Jan 5 14:18:41 UTC 2024 x86_64 GNU/Linux 23:58:10 up 2 days 12:53, 2 users, load average: 0.29, 0.31, 0.40
This commit is contained in:
parent
f5ff6239c7
commit
c83dbf0854
1 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ END_TEST
|
||||||
|
|
||||||
extern const char *regs[];
|
extern const char *regs[];
|
||||||
START_TEST(test_expr_plain_register) {
|
START_TEST(test_expr_plain_register) {
|
||||||
int i;
|
int i, j;
|
||||||
char buf[5] = {};
|
char buf[5] = {};
|
||||||
// NOTE: need to fix this if want to support more arch
|
// NOTE: need to fix this if want to support more arch
|
||||||
buf[0] = '$';
|
buf[0] = '$';
|
||||||
|
@ -181,7 +181,7 @@ START_TEST(test_expr_plain_register) {
|
||||||
yylex_destroy();
|
yylex_destroy();
|
||||||
|
|
||||||
ck_assert(value == i);
|
ck_assert(value == i);
|
||||||
for (i = 1; i < 5; i++) {
|
for (j = 1; j < 5; i++) {
|
||||||
buf[i] = '\0';
|
buf[i] = '\0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue