10 lines
126 B
Text
10 lines
126 B
Text
struct Point {
|
|
field x
|
|
field y
|
|
}
|
|
|
|
def main(field a) -> (Point):
|
|
Point p = Point {x: 1, y: 0}
|
|
p.x = a
|
|
p.y = p.x
|
|
return p
|