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