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 / ng / a64 / tests / front / env-empty.om
| 1 | note execprog supplies no environment; count zero, index zero traps 3. |
| 2 | fn main to int |
| 3 | if ne envcnt 0 |
| 4 | ret 11 |
| 5 | end |
| 6 | a = new uchar 8 0 |
| 7 | k = envread 0 a 0 8 |
| 8 | ret 12 |
| 9 | end |