diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-02-12 11:55:38 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-02-12 11:55:38 +0330 |
commit | 5c336962d3d0a885a870708076f154ee422fee12 (patch) | |
tree | 6f24bf2de914d94fd309d34c7c82e8025692154b /test | |
parent | 217b2c70adfd60756591dd6b06b60279f805a596 (diff) |
add if
Diffstat (limited to 'test')
-rw-r--r-- | test/main.felan | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/test/main.felan b/test/main.felan index e1aeb2e..e1a8bec 100644 --- a/test/main.felan +++ b/test/main.felan @@ -1,15 +1,5 @@ main :: () -> void { - a := fun(-2, t,); - print(a); -}; - -t :: 5+4; - -fun :: (a:u64, b:u64)->u64 { - return a+b; -}; - -print :: (a:u64)->void { - print_u64 a; + b := true; + if b print_u64 23; }; |