tests: extend audited rejection twins through tasks and locks

This commit is contained in:
dev committed 2026-10-08 18:12:53 +03:00
1 parent e4aacef48c
commit 272aebfd32
16 files changed
+157 -13

No files matched your search

@@ -3,10 +3,11 @@
// phase: 6
// spec: docs/spec/15-source-language.md
module demo.missingeffect
// AIR twin: phase2/reject/alloc_without_effect.air
fn main(heap: cap<mem.alloc>) -> u64
effects []
{
let x = own.new(1u64, heap) or trap;
let x = own.new(1u64, heap) or trap; // diagnostic here: own.new
own.take(move x)
}