summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-01-29 09:34:56 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-01-29 09:34:56 +0330
commit6441d6ace4b3ebdc04e3e7fee212830f783eecb0 (patch)
tree866acf3505b0f3f10e20b1294297cf0ccd9bb74e /test
parent258ad19e6e03e1f1a93e16972cac1096a2d93e04 (diff)
add cleaning ast tree
fix bugs
Diffstat (limited to 'test')
-rw-r--r--test/main.felan7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/main.felan b/test/main.felan
index 1adc1dd..3f1ef4c 100644
--- a/test/main.felan
+++ b/test/main.felan
@@ -1,9 +1,10 @@
main :()->void: () -> void {
a :: 3;
- print_u64 a;
- c :: 4;
- print_u64 b;
+ c :: a;
print_u64 c;
+ print_u64 b;
+ print_u64 a;
};
+
a :: 1;
b :: 2;