mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 08:31:33 +03:00
18 lines
241 B
Plaintext
18 lines
241 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;
|
|
}
|