mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-29 20:44:52 +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;
|
|
}
|