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 / slice_escape_element.osc

7 lines · 169 bytes Raw Blame History
1// expect: SLICE_ESCAPE object=b line=5
2// transition: store or return a slice
3fn f(b: bytes) -> u64 {
4 let a: own [u64; 2] = alloc(0);
5 a[0] = b;
6 return 0;
7}