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 / cv_ensures_constant_false.osc
| 1 | // expect: CONTRACT_VIOLATION object=h line=3 |
| 2 | // transition: ensures is constant false |
| 3 | fn h(x: i32) -> i32 ensures !true { |
| 4 | return x; |
| 5 | } |