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 / f5-line.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note contract 5 fresh, lines 122-124: write then read on one straight path is definitely written: |
| 3 | note accepted; stdout 42 (oracle exp/f5-line.out). |
| 4 | om2 |
| 5 | fn f s edit uchar 8 fresh to ulong |
| 6 | put s 0 42 |
| 7 | ret ulong get s 0 |
| 8 | end |
| 9 | fn main to int |
| 10 | a = new uchar 8 0 |
| 11 | putd f a |
| 12 | ret 0 |
| 13 | end |