leo/tests/compiler/console/assert.leo
2021-05-03 16:47:33 +03:00

16 lines
225 B
Plaintext

/*
namespace: Compile
expectation: Pass
inputs:
- assert.in: |
[main]
a: bool = true;
[registers]
r0: bool = false;
*/
function main(a: bool) -> bool {
console.assert(a == true);
return a == true;
}