mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-24 18:12:28 +03:00
13 lines
186 B
Plaintext
13 lines
186 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: ../inputs/dummy.in
|
|
*/
|
|
|
|
function main(y: bool) -> bool {
|
|
const a: i8 = -128i8;
|
|
const b: i8 = -a;
|
|
|
|
return (b == -a) == y;
|
|
}
|