leo/compiler/tests/import/many_import_star.leo

19 lines
498 B
Plaintext
Raw Normal View History

2020-08-15 11:58:33 +03:00
import test-import.*; // local import
import bar.*; // imports directory import
import bar.baz.*; // imports directory import
import bar.bat.bat.*; // imports directory import
import car.*; // imports directory import
2020-07-30 23:01:04 +03:00
function main() {
const point = Point { x: 1u32, y: 1u32 };
const foo = foo();
const bar = Bar { r: 1u32 };
const bat = Bat { t: 1u32 };
const baz = Baz { z: 1u32 };
const car = Car { c: 1u32 };
2020-08-17 05:14:26 +03:00
console.assert(car.c == 1u32);
}