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

6 lines
84 B
Text

const field a = 1;
def main() -> field {
a = 2; // not allowed
return a;
}