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

5 lines · 139 bytes Raw Blame History
1// expect: CONTRACT_VIOLATION object=h line=3
2// transition: ensures is constant false
3fn h(x: i32) -> i32 ensures !true {
4 return x;
5}