1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_cli/examples/propagate_call.zok
2022-06-01 00:04:40 +02:00

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