leo/tests/compiler/integers/i128/ne.leo

13 lines
175 B
Plaintext
Raw Normal View History

2021-05-10 20:19:19 +03:00
/*
namespace: Compile
expectation: Pass
input_file:
- inputs/eq.in
- inputs/ne.in
2021-05-10 20:19:19 +03:00
*/
@program
2021-05-10 20:19:19 +03:00
function main(a: i128, b: i128, c: bool) -> bool{
2021-07-01 23:40:29 +03:00
return (a != b) == c;
2021-05-10 20:19:19 +03:00
}