tests: inventory and verify source rejection twins

This commit is contained in:
dev committed 2026-10-08 18:01:58 +03:00
1 parent 09fbf8a5bc
commit e4aacef48c
28 files changed
+1092 -8

No files matched your search

@@ -0,0 +1,11 @@
// expect: reject E4201
// phase: 6
// spec: docs/spec/04-concurrency-and-atomics.md
// AIR twin: phase5/reject/load_release.air
module test.twins.load_release
fn main() -> void effects [atomic, atomic.weak] {
let c = atomic.new(1u64);
atomic.load(ref c, release); // diagnostic here: atomic.load
let n = atomic.take(move c);
}