summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-01-30 09:20:48 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-01-30 09:20:48 +0330
commitce253ec2ae45879b331d9b9f77f786b78fbfcf2e (patch)
tree29408aa9625dff6eb92bbc06b8ee6132378026d1 /test
parent9f2b1bdcfbbc084876c3ab7cc2cb8c15ffb88184 (diff)
fix bugs
Diffstat (limited to 'test')
-rw-r--r--test/main.felan16
1 files changed, 11 insertions, 5 deletions
diff --git a/test/main.felan b/test/main.felan
index cbbc0ef..ef82130 100644
--- a/test/main.felan
+++ b/test/main.felan
@@ -1,9 +1,15 @@
main :: () -> void {
- print_u64 b;
- b = 3;
- print_u64 b;
- b = 7;
- print_u64 b;
+ fun();
+ a = 2;
+ fun();
+ a = b;
+ fun();
};
+a := 1;
b := 124;
+
+fun :: ()->void {
+ print_u64 a;
+};
+