leo/tests/compiler/import/star.leo

13 lines
224 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.*;
function main(y: bool) -> bool {
const a = Point { x: 1u32, y: 0u32 };
2020-07-30 23:01:04 +03:00
2021-07-01 23:40:29 +03:00
return (foo() == 1u32) == y;
2021-05-05 19:31:25 +03:00
}