mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-24 18:12:28 +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;
|
|
}
|