1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
ZoKrates/zokrates_cli/examples/propagate_call.zok
2021-04-19 10:59:23 +02:00

7 lines
No EOL
139 B
Text

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