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 / tests / compiler / neg / oob_static_read.osc

6 lines · 160 bytes Raw Blame History
1// expect: STATIC_OUT_OF_BOUNDS object=a line=5
2// constant index outside 0..N-1 (read).
3fn f() -> i64 {
4 let a: own [i64; 4] = alloc(1);
5 return a[4];
6}