mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-18 23:02:35 +03:00
18 lines
242 B
Plaintext
18 lines
242 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: input/dummy.in
|
|
cwd: local_imports
|
|
*/
|
|
|
|
import circuits.(
|
|
Point,
|
|
foo
|
|
);
|
|
|
|
function main(y: bool) -> bool {
|
|
const a = Point { x: 1u32, y: 0u32 };
|
|
|
|
return (foo() == 1u32) == y;
|
|
}
|