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 / seed / profile / cases / c1-release.om
| 1 | note C1 mutant: release mode would compile contracts out. |
| 2 | om2 release |
| 3 | fn half x ulong to ulong |
| 4 | requires le x 100 |
| 5 | ret div x 2 |
| 6 | end |
| 7 | fn main to int |
| 8 | v = half 10 |
| 9 | ret int v |
| 10 | end |