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

9 lines
139 B
Text

def main(field x) -> field {
field a = x + 5;
field b = a + x;
a = 7;
field c = a + b;
a = a + 5;
return a + c;
}