tests: extend rejection twins across public semantic features

This commit is contained in:
dev committed 2026-10-08 19:14:12 +03:00
1 parent 272aebfd32
commit 06d8a1a76a
32 files changed
+396 -22

No files matched your search

@@ -3,6 +3,7 @@
// phase: 6
// spec: docs/spec/03-memory-model.md
module demo.two_mut_access
// AIR twin: phase4/reject/island_two_mut.air
fn main(heap: cap<mem.alloc>) -> u64
effects [mem.alloc]
@@ -13,7 +14,7 @@ effects [mem.alloc]
let a = island.root(g);
let b = island.alloc(g, 2u64) or trap;
mut x = island.at(g, a);
mut y = island.at(g, b);
mut y = island.at(g, b); // diagnostic here
}
island.destroy(move isl);
0