1
1
mirror of https://github.com/ProvableHQ/leo.git synced 2024-12-26 19:51:52 +03:00
leo/tests/compiler/integers/u8/add.leo

18 lines
228 B
Plaintext
Raw Normal View History

2021-05-10 21:11:31 +03:00
/*
namespace: Compile
expectation: Pass
inputs:
- u8.in: |
[main]
a: u8 = 2;
b: u8 = 4;
c: u8 = 6;
[registers]
r0: bool = true;
*/
function main(a: u8, b: u8, c: u8) -> bool {
return a + b == c;
}