1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
ZoKrates/zokrates_cli/examples/structs/constant_in_member.zok
2022-04-06 20:23:58 +02:00

12 lines
135 B
Text

const u32 SIZE = 42;
struct Foo {
field[SIZE] foo;
}
def main() {
Foo f = Foo {
foo: [42; SIZE]
};
return;
}