mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 09:01:35 +03:00
16 lines
243 B
Plaintext
16 lines
243 B
Plaintext
// namespace: Compile
|
|
// expectation: Pass
|
|
// input_file: input/dummy.in
|
|
// cwd: imports
|
|
|
|
import test-import.(
|
|
Point,
|
|
foo
|
|
);
|
|
|
|
function main(y: bool) -> bool {
|
|
const a = Point { x: 1u32, y: 0u32 };
|
|
|
|
return (a.x == 1u32) == y;
|
|
}
|