summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-07 21:14:11 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-07 21:14:11 +0330
commit6bd439f35c1184f04488ee4f0db21632e1301b51 (patch)
tree369766b11ef80c33dfca262deae0051e5343aaa5 /test
parentb89bec88a56b81d3524ed082db9796ef3169b060 (diff)
add plus
trying to add return
Diffstat (limited to 'test')
-rw-r--r--test/main.felan15
1 files changed, 4 insertions, 11 deletions
diff --git a/test/main.felan b/test/main.felan
index 6ee5abf..f290585 100644
--- a/test/main.felan
+++ b/test/main.felan
@@ -1,15 +1,8 @@
main :: () -> void {
- fun();
- a = 2;
- fun();
- a = b;
- fun();
+ print_u64;
};
-a := 1;
-b := 3;
-
-fun :: ()->void {
- print_u64 a;
-};
+fun :: ()->u64 {
+ return 23;
+}