leo/tests/compiler/integers/i32/console_assert.leo

12 lines
180 B
Plaintext
Raw Normal View History

2021-05-10 20:19:19 +03:00
/*
namespace: Compile
expectation: Pass
input_file: inputs/eq.in
2021-05-10 20:19:19 +03:00
*/
function main(a: i32, b: i32) -> bool {
let ret: bool = a == b;
console.assert(ret);
return ret;
2021-05-10 20:19:19 +03:00
}