aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-03-02 23:01:51 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit4c5ffb35d50d514e3df4788e7cf38245c0127883 (patch)
tree92f51532a9fe3153c7878c274838facdafa2ce43 /tests
parentd640066d9390e3ba1abca183db9263b775c000d4 (diff)
Add variable declaration without assignment
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 26da7d6..71e962e 100644
--- a/tests/main.amal
+++ b/tests/main.amal
@@ -5,7 +5,9 @@ const main = fn {
}
const value = "hello";
- print(value, "world", 356);
+ print(value, "world", 356, 13.37);
+ var num1;
+ const num2 = 23232;
}
const print = fn {