Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): Test Brillig report with inliner settings #7052

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);
}

Loading