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 / omc / om2 / s4 / v-bad-global.om
| 1 | note S4: a global is never passed, also to an unsized parameter (error 19). |
| 2 | om2 |
| 3 | global g uchar 4 |
| 4 | fn f v view uchar * to ulong |
| 5 | ret len v |
| 6 | end |
| 7 | fn main to int |
| 8 | ret int f g |
| 9 | end |