leo/tests/compiler/integers/i8/min.leo

12 lines
156 B
Plaintext
Raw Normal View History

2021-05-03 17:28:53 +03:00
/*
namespace: Compile
expectation: Pass
input_file: inputs/add.in
2021-05-03 17:28:53 +03:00
*/
2022-10-04 00:56:14 +03:00
transition main(a: i8) -> i8 {
let b: i8 = -127i8;
2022-07-29 02:23:16 +03:00
return b - a; // -128i8
}