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

11 lines
220 B
Text

def main() {
field[3] a = [1, 2, 3];
bool[3] b = [true, true, false];
field[3][2] c = [[1, 2], [3, 4], [5, 6]];
field[3] aa = [...a];
bool[3] bb = [...b];
field[3][2] cc = [...c];
return;
}