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 / v6-part-two.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note contract 6 lines 177-178: two parts of one array in one call are error 19, whatever their |
| 3 | note ranges (here disjoint 0..1 and 5..6). |
| 4 | om2 |
| 5 | fn two x view uchar * y view uchar * to ulong |
| 6 | ret add len x len y |
| 7 | end |
| 8 | fn main to int |
| 9 | a = new uchar 10 0 |
| 10 | putd two part a 0 2 part a 5 2 |
| 11 | ret 0 |
| 12 | end |