Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
huynhtrankhanh committed Dec 5, 2023
1 parent 81ec5fa commit 416b78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/cppCodegen.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ int main() {
local_2 = uint64_t(1);
environment_0[uint64_t(0)] = { local_1 };
environment_0[uint64_t(1)] = { local_2 };
for (uint64_t binder_0 = 0; binder_0 < (local_0 - uint64_t(2)); binder_0++) {
for (uint64_t binder_0 = 0; binder_0 < (uint64_t(local_0) - uint64_t(2)); binder_0++) {
local_3 = (get<0>(environment_0[binder_0]) + get<0>(environment_0[(binder_0 + uint64_t(1))]));
environment_0[(binder_0 + uint64_t(2))] = { local_3 };
break;
Expand Down

0 comments on commit 416b78b

Please sign in to comment.