summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-08 09:24:16 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-08 09:24:16 +0330
commit6345e8434dbb58172f4649e2e0997089bef7552c (patch)
tree7f0e91dcdd39db809b0e67e868c1b0b7c35d18e1 /test
parent964c7178a371f79123d54a43671375f5c0ceb7e4 (diff)
add arguments
Diffstat (limited to 'test')
-rw-r--r--test/main.felan4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/main.felan b/test/main.felan
index 4ca3372..0bd20fa 100644
--- a/test/main.felan
+++ b/test/main.felan
@@ -1,9 +1,9 @@
main :: () -> void {
- a : u64 = fun();
+ a : u64 = fun(2);
print_u64 a + 5;
};
fun :: (b:u64)->u64 {
- return 1;
+ return b+1;
};