leo/tests/compiler/import_local/import_all.leo

17 lines
314 B
Plaintext
Raw Normal View History

2021-08-04 23:34:11 +03:00
/*
namespace: Compile
expectation: Pass
input_file: input/dummy.in
cwd: local_imports
*/
2021-05-05 19:31:25 +03:00
2021-08-04 23:34:11 +03:00
import circuits.*;
function main(y: bool) -> bool {
const a = Point { x: 1u32, y: 0u32 };
const hello_alias: char5 = "hello";
const hello = "hello";
2020-07-30 23:01:04 +03:00
return( (foo() == 1u32) && hello_alias == hello) == y;
2021-05-05 19:31:25 +03:00
}