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-order.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note contract 6 line 175: o is evaluated before k. o = div 10 z (z = 0) traps 2, k = ulong m (m = -1) |
| 3 | note traps 5: exit 102. A k-first mutant exits 105. |
| 4 | om2 |
| 5 | fn plen v view uchar * to ulong |
| 6 | ret len v |
| 7 | end |
| 8 | fn main to int |
| 9 | a = new uchar 10 0 |
| 10 | z = ulong 0 |
| 11 | m = long -1 |
| 12 | putd plen part a div 10 z ulong m |
| 13 | ret 0 |
| 14 | end |