1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
ZoKrates/zokrates_cli/examples/assign_to_element.zok
2022-04-06 20:23:58 +02:00

13 lines
No EOL
162 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;
}