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 / seed / omc / tests / pools / err-struct.om
| 1 | om2 |
| 2 | struct Pr a ulong b ulong end |
| 3 | global P ulong * |
| 4 | fn f p view Pr to ulong |
| 5 | ret 0 |
| 6 | end |
| 7 | fn main to int |
| 8 | x = f P |
| 9 | ret 0 |
| 10 | end |
| 11 | note gate-pools 10: refused with error 7 |