interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / tests / compiler / neg / st_capacity_structs.osc

20 lines · 428 bytes Raw Blame History
1// expect: CAPACITY object=S16 line=19
2// transition: struct capacity
3struct S0 { v: u8 }
4struct S1 { v: u8 }
5struct S2 { v: u8 }
6struct S3 { v: u8 }
7struct S4 { v: u8 }
8struct S5 { v: u8 }
9struct S6 { v: u8 }
10struct S7 { v: u8 }
11struct S8 { v: u8 }
12struct S9 { v: u8 }
13struct S10 { v: u8 }
14struct S11 { v: u8 }
15struct S12 { v: u8 }
16struct S13 { v: u8 }
17struct S14 { v: u8 }
18struct S15 { v: u8 }
19struct S16 { v: u8 }
20fn f() { }