; slice.copy with source and destination in the same range is rejected: it is not a memmove. ; expect: reject E2101 ; phase: 1 ; spec: docs/spec/08-verifier.md module test.copy_overlapping air 0 lang 0.1 features [arrays, ownership] fn @f() -> void effects [] entry: %x = local.alloc array local.zero %x %m = borrow.mut %x %s = slice.make %m %src = borrow.ref %s slice.copy %s, %src borrow.end %src borrow.end %s borrow.end %m ret