leo/tests/compiler/console/assert.leo

10 lines
158 B
Plaintext
Raw Normal View History

2021-05-03 16:47:33 +03:00
/*
namespace: Compile
expectation: Pass
input_file: inputs/true.in
2021-05-03 16:47:33 +03:00
*/
function main(a: bool) -> bool {
2020-08-17 03:20:47 +03:00
console.assert(a == true);
2021-05-03 16:47:33 +03:00
return a == true;
2020-08-17 03:20:47 +03:00
}