mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-20 16:11:35 +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;
|
|
}
|