leo/tests/compiler/integers/i8/min.leo
2022-07-28 16:23:16 -07:00

12 lines
154 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: inputs/add.in
*/
function main(a: i8) -> i8 {
let b: i8 = -127i8;
return b - a; // -128i8
}