leo/tests/compiler/integers/i16/add.leo
2021-05-03 17:28:53 +03:00

14 lines
197 B
Plaintext

/*
namespace: Compile
expectation: Pass
inputs:
- i16.in: |
[main]
a: i16 = 2;
b: i16 = 3;
c: i16 = 5;
*/
function main(a: i16, b: i16, c: i16) {
console.assert(a + b == c);
}