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

8 lines
167 B
Text

// this code needs flattening
def main(field a) -> field {
field b = a + 5 + a * a;
field c = b + a + a * b * b;
field d = a * b + c * c;
return b + c + d;
}