9 lines
No EOL
158 B
Text
9 lines
No EOL
158 B
Text
def incr(field a) -> field:
|
|
a = a + 1
|
|
return a
|
|
|
|
def main():
|
|
field x = 1
|
|
field res = incr(x)
|
|
assert(x == 1) // x has not changed
|
|
return |