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 / seed / ng / front / cases / nom_struct_put_idx_only.om

10 lines · 203 bytes Raw Blame History
1note Struct put: a good value and a run-time index one past the field trap 3 (exit 103).
2struct H v uint 4 next ulong end
3fn five to ulong
4ret 4
5end
6fn main to int
7h = new H 1 2
8put h v five 7
9ret 0
10end