leo/tests/compiler/integers/i16/div.leo

14 lines
197 B
Plaintext
Raw Normal View History

2021-05-03 17:28:53 +03:00
/*
namespace: Compile
expectation: Pass
inputs:
- i16.in: |
[main]
a: i16 = 6;
b: i16 = 3;
c: i16 = 2;
*/
2020-07-31 02:20:31 +03:00
function main(a: i16, b: i16, c: i16) {
2020-08-17 05:14:26 +03:00
console.assert(a / b == c);
2020-07-16 07:55:45 +03:00
}