leo/tests/compiler/import/multiple.leo

16 lines
241 B
Plaintext
Raw Normal View History

// namespace: Compile
// expectation: Pass
// input_file: input/dummy.in
// cwd: imports
2021-05-05 19:31:25 +03:00
2020-08-15 11:58:33 +03:00
import test-import.(
2020-07-17 22:59:18 +03:00
Point,
foo
);
function main(y: bool) -> bool {
const a = Point { x: 1u32, y: 0u32 };
2020-07-30 23:01:04 +03:00
return a.x == 1u32 == y;
2021-05-05 19:31:25 +03:00
}