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 / ar_capacity_bound_zero.osc
| 1 | // expect: ARENA_CAPACITY object=a line=4 |
| 2 | // transition: arena bound outside 1..64 |
| 3 | fn f() -> u32 { |
| 4 | arena a bound 0 { |
| 5 | let x: own [u32; 1] in a = alloc(2); |
| 6 | } |
| 7 | return 0; |
| 8 | } |