diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-25 20:53:59 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-25 20:53:59 +0330 |
commit | b945815a225c3efdef5df03af52f921f98f9ed90 (patch) | |
tree | d70bc30bba6f0267596e9bac47be0882d7fe19b6 /test | |
parent | 6a2b633d6fdc10ffb496f90912f57ec72daf25f6 (diff) |
add function call
Diffstat (limited to 'test')
-rw-r--r-- | test/main.felan | 9 |
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; }; |