tests: preserve audited CFG loan handoff contexts

This commit is contained in:
dev committed 2026-10-08 21:57:27 +03:00
1 parent 50d1bb2c4b
commit fe63ae9586
12 files changed
+377 -8

No files matched your search

@@ -0,0 +1,14 @@
// expect: reject E2101
// phase: 6
// spec: docs/spec/08-verifier.md; docs/spec/15-source-language.md §5
// AIR twin: phase1/reject/copy_overlapping.air
module test.copy_overlapping
fn f() -> void effects [] {
var x: [u8; 8] = zero;
mut s = x;
ref src = s;
slice.copy(s, src); // diagnostic here
}
fn main() -> void effects [] {}