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 / uam_after_let_move.osc
| 1 | // expect: USE_AFTER_MOVE object=a line=6 |
| 2 | // transition: use after move |
| 3 | fn f() -> i64 { |
| 4 | let a: own [i64; 4] = alloc(1); |
| 5 | let b: own [i64; 4] = a; |
| 6 | return a[0] + b[0]; |
| 7 | } |