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

13 lines
179 B
Plaintext
Raw Normal View History

2021-05-03 17:28:53 +03:00
/*
namespace: Compile
expectation: Pass
input_file: ../input/dummy.in
2021-05-03 17:28:53 +03:00
*/
function main(y: bool) -> bool {
const a: = -128i8;
const b: = -a;
return (b == -a) == y;
2021-05-10 20:19:19 +03:00
}