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 / qualification / om2 / sec / s3s4 / rot-signed-long.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note Contract section 3 line 78: signed x is error 7. x long, rotl; refused at line 6 (the rotl). |
| 3 | om2 |
| 4 | fn main to int |
| 5 | x = long 5 |
| 6 | y = rotl x 1 |
| 7 | ret 0 |
| 8 | end |