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

18 lines
235 B
Plaintext

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