aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/main.amal4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/main.amal b/tests/main.amal
index 71e962e..a7b4576 100644
--- a/tests/main.amal
+++ b/tests/main.amal
@@ -6,8 +6,10 @@ const main = fn {
}
const value = "hello";
print(value, "world", 356, 13.37);
- var num1;
+ var num1: i32;
const num2 = 23232;
+ const num3 = num1 + num2 * 30;
+ const num4 = (num1 + num2) * num3 * ((34 + 32) / 234.345);
}
const print = fn {