struct Point = { x: i32 y: i32 } declare malloc(size: u64): *Point export let main() = { var p = malloc(8) p.x = 10 p.y = 20 return p.x }