leo/disabled_tests/compiler/integers/i8/negate_min.leo

13 lines
179 B
Plaintext

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