Skip to content

Commit

Permalink
feat(WIP): namespace example
Browse files Browse the repository at this point in the history
  • Loading branch information
load1n9 committed Sep 28, 2023
1 parent ca66414 commit 17faa2b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/namespace.whi
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace test {
fn x(): i32 {
return 1
}
}

fn x(): i32 {
return 2
}

fn main() {
test.x()
}

0 comments on commit 17faa2b

Please sign in to comment.