leo/simple.program
2020-04-15 16:52:17 -07:00

10 lines
89 B
Plaintext

struct Point {
field x
field y
}
Point p = Point {x: 1, y: 0}
p.x = 2
return p