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 / host / tests / environment_trap.om
| 1 | note an environment index equal to the count must trap 3 (program exit 103). |
| 2 | fn main to int |
| 3 | c = ulong envcnt |
| 4 | a = new uchar 8 0 |
| 5 | n = envread c a 0 8 |
| 6 | ret 0 |
| 7 | end |