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_literal_too_big.osc
| 1 | // expect: OVERFLOW_UNSAFE object=x line=4 |
| 2 | // literal does not fit its type. |
| 3 | fn f() -> u8 { |
| 4 | let x: u8 = 256; |
| 5 | return x; |
| 6 | } |