summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-01-25 20:53:59 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-01-25 20:53:59 +0330
commitb945815a225c3efdef5df03af52f921f98f9ed90 (patch)
treed70bc30bba6f0267596e9bac47be0882d7fe19b6 /test
parent6a2b633d6fdc10ffb496f90912f57ec72daf25f6 (diff)
add function call
Diffstat (limited to 'test')
-rw-r--r--test/main.felan9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/main.felan b/test/main.felan
index 626bd50..9c39bc6 100644
--- a/test/main.felan
+++ b/test/main.felan
@@ -1,3 +1,10 @@
-main : (a:void)->void : (a:void) -> void {
+main : ()->void : () -> void {
+ a();
+ a();
+};
+
+a :: () -> void {
+ print;
+ print;
print;
};