2021-01-25 18:17:42 +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
|
|
|
|
|
|
|
|
function main() {
|
2021-03-18 22:19:07 +03:00
|
|
|
const point = Point { x: 1u32, y: 1u32 };
|
|
|
|
const foo = foo();
|
2021-01-25 18:17:42 +03:00
|
|
|
|
2021-03-18 22:19:07 +03:00
|
|
|
const bar = Bar { r: 1u32 };
|
|
|
|
const bat = Bat { t: 1u32 };
|
|
|
|
const baz = Baz { z: 1u32 };
|
2021-01-25 18:17:42 +03:00
|
|
|
|
2021-03-18 22:19:07 +03:00
|
|
|
const car = Car { c: 1u32 };
|
2021-01-25 18:17:42 +03:00
|
|
|
|
|
|
|
console.assert(car.c == 1u32);
|
|
|
|
}
|