This commit is contained in:
zach
2024-06-14 18:52:50 -07:00
parent 00f9155b9e
commit 24622cd511
2 changed files with 5 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ main!({
error_set(n);
assert(error_get() == n);
alloc(m);
error_set(0);
assert(error_get() == 0);
});

View File

@@ -7,9 +7,12 @@ main!({
let x = u64();
assume(x > 0);
let y = u64();
assume(y > 0);
let mut tmp = 0;
for _ in 0..10 {
for _ in 0..y {
let m = alloc(x);
if tmp == 0 {
tmp = m;