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_signed_const.osc
| 1 | // expect: OVERFLOW_UNSAFE object=x line=4 |
| 2 | // signed constant overflow: 100 + 100 does not fit i8. |
| 3 | fn f() -> i8 { |
| 4 | let x: i8 = 100 + 100; |
| 5 | return x; |
| 6 | } |