From 17faa2b47303ead0de94cec1c45997ee98ea3cdf Mon Sep 17 00:00:00 2001 From: Dean Srebnik <49134864+load1n9@users.noreply.github.com> Date: Thu, 28 Sep 2023 12:49:39 -0400 Subject: [PATCH] feat(WIP): namespace example --- examples/namespace.whi | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 examples/namespace.whi diff --git a/examples/namespace.whi b/examples/namespace.whi new file mode 100644 index 0000000..59a25c5 --- /dev/null +++ b/examples/namespace.whi @@ -0,0 +1,13 @@ +namespace test { + fn x(): i32 { + return 1 + } +} + +fn x(): i32 { + return 2 +} + +fn main() { + test.x() +} \ No newline at end of file