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
omega-mv / tests / compiler / neg / oob_static_write.osc
| 1 | // expect: STATIC_OUT_OF_BOUNDS object=a line=5 |
| 2 | // constant index outside 0..N-1 (write). |
| 3 | fn f() { |
| 4 | let a: own [i64; 4] = alloc(1); |
| 5 | a[-1] = 3; |
| 6 | } |