mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-29 20:44:52 +03:00
12 lines
190 B
Plaintext
12 lines
190 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: ../inputs/dummy.in
|
|
*/
|
|
|
|
function main(y: bool) -> bool {
|
|
const a: i16 = -32768i16;
|
|
const b: i16 = -a;
|
|
return (b == -a) == y;
|
|
}
|