mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-26 11:45:00 +03:00
16 lines
226 B
Plaintext
16 lines
226 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: inputs/dummy.in
|
|
*/
|
|
|
|
function main(y: bool) -> bool {
|
|
let x: i8 = 100i8;
|
|
if false {
|
|
x = 1i8;
|
|
x = x * 100i8;
|
|
}
|
|
|
|
return (x == 100i8) == y;
|
|
}
|