leo/tests/compiler/integers/i128/negate_min.leo
2021-07-01 13:40:29 -07:00

12 lines
177 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: ../input/dummy.in
*/
function main(y: bool) -> bool{
const a = -128i128;
const b = -a;
return (b == -a) == y;
}