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

9 lines
150 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;
}