leo/tests/compiler/import_old/alias.leo

11 lines
190 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-09-18 22:41:38 +03:00
import test-import.foo as bar;
function main(y: bool) -> bool {
2021-07-01 23:40:29 +03:00
return (bar() == 1u32) == y;
2021-05-05 19:31:25 +03:00
}