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 / si / harness / examples / mistake_ir_bound.om
| 1 | ir |
| 2 | note mistake_ir_bound: IR mode keeps the C oracle's loop range: a bound is 1..1000000, so 1000001 is error 8 |
| 3 | fn main to int |
| 4 | i = ulong 0 |
| 5 | while lt i 3 bound 1000001 |
| 6 | i = add i 1 |
| 7 | end |
| 8 | ret 0 |
| 9 | end |