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 / omc / tests / loop / t2.om
| 1 | note a trap inside if exits 107; the path after the if stays live through the other branch |
| 2 | fn main to int |
| 3 | x = ulong 1 |
| 4 | if eq x 1 |
| 5 | trap 7 |
| 6 | end |
| 7 | ret 0 |
| 8 | end |