; The two halves of slice.split are disjoint, so one can be copied into the other. ; expect: accept ; phase: 1 ; spec: docs/spec/08-verifier.md module test.split_halves 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 %k = const.usize 4 %l, %r = slice.split %s, %k %src = borrow.ref %l slice.copy %r, %src borrow.end %src borrow.end %l borrow.end %r borrow.end %s borrow.end %m ret