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

6 lines · 229 bytes Raw Blame History
1// expect: REDEFINED_NAME object=result line=4
2// transition: parameter named result with ensures
3// `result` is reserved in a function that has an ensures clause
4fn f(result: u8) -> u8 ensures result >= 0 {
5 return result;
6}