mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-24 07:48:04 +03:00
19 lines
492 B
Plaintext
19 lines
492 B
Plaintext
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() {
|
|
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 };
|
|
|
|
assert_eq!(car.c, 1u32);
|
|
} |