mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 17:11:42 +03:00
21 lines
266 B
Plaintext
21 lines
266 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
inputs:
|
|
- static.in: |
|
|
[registers]
|
|
r0: bool = false;
|
|
*/
|
|
|
|
circuit Foo {
|
|
function echo(x: u32) -> u32 {
|
|
return x;
|
|
}
|
|
}
|
|
|
|
function main() -> bool {
|
|
const a = Foo::echo(1u32);
|
|
|
|
return a == 1u32;
|
|
}
|