omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / tests / fixtures / t_cmp_unsigned.om
| 1 | note L412 probe cmp_unsigned: 2^64 - 1 is a ulong and is not below 1 |
| 2 | fn main to int |
| 3 | x = ulong 18446744073709551615 |
| 4 | y = ulong 1 |
| 5 | if lt x y |
| 6 | ret 1 |
| 7 | end |
| 8 | ret 0 |
| 9 | end |