omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / tests / fixtures / t_u63.om
| 1 | note 2^63 read as a ulong, in an op with a ulong name: its top 4 bits are 8 |
| 2 | fn main to int |
| 3 | z = ulong 0 |
| 4 | x = add z 9223372036854775808 |
| 5 | ret int shr x 60 |
| 6 | end |