interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / si / harness / examples / mistake_new_var_len.om

6 lines · 181 bytes Raw Blame History
1note mistake_new_var_len: a new length is a literal or an integer const, never a variable; there are no run-time-sized arrays
2fn main to int
3n = ulong 4
4a = new uchar n 0
5ret 0
6end