1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
ZoKrates/zokrates_cli/examples/assign_to_element.zok
2021-05-26 16:04:24 +02:00

11 lines
No EOL
169 B
Text

def foo() -> u32:
return 0
def bar() -> (u32, u32):
return 0, 0
def main(u32[1] a, u32 b):
a[0] = foo()
a[0], b = bar()
return