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
omega-mv / tests / compiler / neg / slice_escape_element.osc
| 1 | // expect: SLICE_ESCAPE object=b line=5 |
| 2 | // transition: store or return a slice |
| 3 | fn f(b: bytes) -> u64 { |
| 4 | let a: own [u64; 2] = alloc(0); |
| 5 | a[0] = b; |
| 6 | return 0; |
| 7 | } |