leo/tests/compiler/scalar/scalar.leo

11 lines
173 B
Plaintext
Raw Normal View History

2022-05-15 06:27:08 +03:00
/*
namespace: Compile
expectation: Pass
input_file:
- inputs/scalars.in
*/
function main(a: scalar) -> bool {
const s: scalar = 1scalar;
return s + a == 0scalar;
}