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 / ovf_zero_divisor.osc
| 1 | // expect: OVERFLOW_UNSAFE object=y line=4 |
| 2 | // literal zero divisor. |
| 3 | fn f(x: i32) -> i32 { |
| 4 | let y: i32 = x / 0; |
| 5 | return y; |
| 6 | } |