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 / quantity / narrow_controls.om
| 1 | fn main to int |
| 2 | a = qty 5 |
| 3 | if ne uchar a uchar 5 |
| 4 | ret 1 |
| 5 | end |
| 6 | b = qty 9223372036854775807 |
| 7 | if ne long b long 9223372036854775807 |
| 8 | ret 2 |
| 9 | end |
| 10 | ret 0 |
| 11 | end |