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,11 +3,12 @@
// phase: 6
// spec: docs/spec/03-memory-model.md
module demo.arc_mutex
// AIR twin: phase4/reject/arc_content_mutex.air
fn main(heap: cap<mem.alloc>) -> u64
effects [mem.alloc]
{
let a = arc.new(mutex.make(0u64), heap) or trap;
let a = arc.new(mutex.make(0u64), heap) or trap; // diagnostic here: arc.new
arc.release(move a);
0
}