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

8 lines
142 B
Text

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