leo/tests/compiler/scalar/scalar.leo
2022-08-04 20:00:40 -07:00

12 lines
182 B
Plaintext

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