leo/simple.program

10 lines
131 B
Plaintext
Raw Normal View History

struct Point {
field x
field y
2020-04-17 01:15:13 +03:00
}
def main() -> ():
Point p = Point { x: 1, y: 1 }
p.x = 2
p.y = 2
return p