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 / omc / tests / struct-bool / trap_index.om

9 lines · 280 bytes Raw Blame History
1note trap_index.om: an out-of-range run-time index into an array field next to a bool field still
2note traps 3 (exit 103). A crash from the bool field would give 132 (SIGILL) instead.
3struct A h uchar 4 f bool end
4fn main to uint
5a = new A 1 true
6i = uint 4
7put a h i 1
8ret 0
9end