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

6 lines
207 B
Text

from "EMBED" import bit_array_le;
// Calling the `bit_array_le` embed on a non-constant second argument should fail at compile-time
def main(bool[1] a, bool[1] b) -> bool {
return bit_array_le(a, b);
}