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 / s5s7 / l5-scalar-idx.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note contract 5 layout line 158 with errata E5/E8: an extra index on a scalar field (COUNT omitted) |
| 3 | note is error 5. |
| 4 | om2 |
| 5 | layout one 4 |
| 6 | field v uint at 0 big |
| 7 | end |
| 8 | fn fill x edit one to void |
| 9 | put x v 0 0x01020304 |
| 10 | end |
| 11 | fn main to int |
| 12 | c = new uchar 4 0 |
| 13 | fill c |
| 14 | ret 0 |
| 15 | end |