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

8 lines · 186 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 pool p: [u64; 2] {
5 let h: handle p = p.alloc(b);
6 }
7 return 0;
8}