leo/tests/compiler/scalar/scalar.leo
2022-05-14 20:27:08 -07:00

11 lines
173 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file:
- inputs/scalars.in
*/
function main(a: scalar) -> bool {
const s: scalar = 1scalar;
return s + a == 0scalar;
}