1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
ZoKrates/zokrates_cli/examples/propagate_call.zok
2020-04-14 16:32:14 +02:00

7 lines
No EOL
137 B
Text

def foo(field a, field b) -> (field, field):
a == b + 2
return a, b
def main() -> (field):
field a, field b = foo(1, 1)
return a + b