1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_cli/examples/propagate_call.zok

7 lines
No EOL
143 B
Text

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