interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / tests / compiler / neg / read_only_borrow_write.osc

5 lines · 124 bytes Raw Blame History
1// expect: READ_ONLY_BORROW object=a line=4
2// transition: write through shared borrow
3fn f(a: &[i64; 4]) {
4 a[0] = 1;
5}