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

6 lines · 206 bytes Raw Blame History
1// expect: CONTRACT_VIOLATION object=f line=4
2// transition: requires is constant false
3// a clause that folds to false on its own can never hold
4fn f(x: u8) -> u8 requires false && x > 0 {
5 return x;
6}