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-write.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note contract 6 line 171 with OMEGESE 9.5: write keeps its slice check on an unsized view: |
| 3 | note off 9, n 4 on len 10 traps 3 before the call (exit 103, no stdout). |
| 4 | om2 |
| 5 | fn g v view uchar * to void |
| 6 | w = write 1 v 9 4 |
| 7 | end |
| 8 | fn main to int |
| 9 | a = new uchar 10 65 |
| 10 | g a |
| 11 | ret 0 |
| 12 | end |