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

14 lines
202 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-06 02:53:49 +03:00
program test.aleo {
transition main(a: i8) -> i8 {
let b: i8 = -127i8;
return b - a; // -128i8
}
}