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_arena.osc

8 lines · 192 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 arena r bound 4 {
5 let a: own [u64; 2] in r = alloc(b);
6 }
7 return 0;
8}