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

11 lines
172 B
Plaintext

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