mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-19 07:32:26 +03:00
18 lines
243 B
Plaintext
18 lines
243 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: input/dummy.in
|
|
*/
|
|
|
|
circuit Foo {
|
|
function echo(x: u32) -> u32 {
|
|
return x;
|
|
}
|
|
}
|
|
|
|
function main(y: bool) -> bool {
|
|
const a = Foo::echo(1u32);
|
|
|
|
return (a == 1u32) == y;
|
|
}
|