mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-24 18:12:28 +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;
|
|
}
|