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 / front-door / tests / omc / examples / count_err27_fresh.om

10 lines · 237 bytes Raw Blame History
1note count_err27_fresh: count reads its slice, so a tracked fresh array leaves the analysis, error 27, as in read and write
2om2
3fn f s edit uchar 8 fresh to ulong
4ret count s 0 8 10
5end
6fn main to int
7b = new uchar 8 0
8r = f b
9ret 0
10end