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 / lsc_shbool.om

8 lines · 223 bytes Raw Blame History
1note lsc_shbool: omc admits a bool shift amount (true shifts by 1; this exits 2). ng front-ir does not lower
2note it: exit 64, no output (cases-lower-scope.txt)
3fn main to int
4x = ulong 1
5b = true
6y = shl x b
7ret int y
8end