mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-26 19:11:50 +03:00
18 lines
225 B
Plaintext
18 lines
225 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
inputs:
|
|
- dummy.in: |
|
|
[main]
|
|
y: bool = true;
|
|
|
|
[registers]
|
|
r0: bool = false;
|
|
*/
|
|
|
|
function main(y: bool) -> bool {
|
|
const a = 0i128;
|
|
|
|
return (-a == 0i128) == y;
|
|
}
|