leo/tests/compiler/integers/u128/ne.leo
2021-07-01 13:40:29 -07:00

18 lines
248 B
Plaintext

/*
namespace: Compile
expectation: Pass
inputs:
- ne.in: |
[main]
a: u128 = 10;
b: u128 = 20;
c: bool = true;
[registers]
r0: bool = true;
*/
function main(a: u128, b: u128, c: bool) -> bool {
return (a != b) == c;
}