leo/tests/compiler/integers/i16/ne.leo

12 lines
164 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
*/
function main(a: i16, b: i16, c: bool) -> bool{
2021-07-01 23:40:29 +03:00
return (a != b) == c;
2021-05-10 20:19:19 +03:00
}