summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-01-30 04:50:11 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-01-30 04:50:11 +0330
commite6122f465cd8b8eebcc2657321cf7cf5732408a8 (patch)
tree127d56cab08e99b0999c909db98a417656bf001f /test
parent6441d6ace4b3ebdc04e3e7fee212830f783eecb0 (diff)
added global variables (not constants)
Diffstat (limited to 'test')
-rw-r--r--test/main.felan11
1 files changed, 4 insertions, 7 deletions
diff --git a/test/main.felan b/test/main.felan
index 3f1ef4c..d78dfdf 100644
--- a/test/main.felan
+++ b/test/main.felan
@@ -1,10 +1,7 @@
-main :()->void: () -> void {
- a :: 3;
- c :: a;
- print_u64 c;
- print_u64 b;
+main :: () -> void {
print_u64 a;
+ print_u64 b;
};
-a :: 1;
-b :: 2;
+a := 123;
+b :: 124;