Skip to content

Commit

Permalink
some dummy additional code
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Jan 13, 2025
1 parent 3bc48d4 commit 02b619c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ fn main(x: Field, y: pub Field) {
assert(x != y);

dummy_again(x, y);
dummy_again(x, y);
dummy_again(x, y);
}

fn dummy_again(x: Field, y: Field) {
Expand Down
14 changes: 14 additions & 0 deletions test_programs/execution_success/regression_4709/src/main.nr
Original file line number Diff line number Diff line change
Expand Up @@ -3851,4 +3851,18 @@ fn main(x: Field, y: pub Field) {
}
assert(!acc.lt(x));
assert(x != y);

dummy_again(x, y);
}

fn dummy_again(x: Field, y: Field) {
let mut acc: Field = 0;
for i in 0..257 {
for j in 0..257 {
acc += EXPONENTIATE[i][j];
}
}
assert(!acc.lt(x));
assert(x != y);
}

0 comments on commit 02b619c

Please sign in to comment.