leo/tests/compiler/integers/u64/sub.leo
2021-05-10 21:11:31 +03:00

18 lines
237 B
Plaintext

/*
namespace: Compile
expectation: Pass
inputs:
- u64_f.in: |
[main]
a: u64 = 4;
b: u64 = 2;
c: u64 = 2;
[registers]
r0: bool = true;
*/
function main(a: u64, b: u64, c: u64) -> bool {
return a - b == c;
}