// The frontend does not check aliasing: the verifier reports E2101 at the second borrow. // expect: reject E2101 // phase: 6 // spec: docs/spec/15-source-language.md module demo.conflict fn main() -> u64 effects [] { var buf: [u64; 2] = zero; mut a = buf; ref b = buf; return 0; }