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

6 lines · 230 bytes Raw Blame History
1// expect: REDEFINED_NAME object=result line=4
2// transition: parameter named result with ensures
3// the reservation holds in a void function too (OSC-2-DESIGN 1.3)
4fn f(result: u8) ensures result == 1 {
5 let y: u8 = result;
6}