mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-23 17:43:06 +03:00
11 lines
173 B
Plaintext
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;
|
||
|
}
|