mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
10 lines
131 B
Plaintext
10 lines
131 B
Plaintext
struct Point {
|
|
field x
|
|
field y
|
|
}
|
|
|
|
def main() -> ():
|
|
Point p = Point { x: 1, y: 1 }
|
|
p.x = 2
|
|
p.y = 2
|
|
return p |