aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-03-24 01:19:18 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commitc207014f81fe742675c6e869b59d09e916c69fc6 (patch)
treedc4d82ea1d8ddabcf5fdc0d9eb3a16f5044063e9 /tests
parentdc90305a767feaacc3430aaee0928b745a8e5b0f (diff)
Resolve cross-file references (with mutex). Not done
Diffstat (limited to 'tests')
-rw-r--r--tests/main.amal2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.amal b/tests/main.amal
index 3af537b..02a9c0a 100644
--- a/tests/main.amal
+++ b/tests/main.amal
@@ -12,7 +12,7 @@ const main = fn {
const value = "hello";
// fn {} // error, function declaration can't be by itself. Needs left-hand side
print(value, "world", 356, 13.37);
- var num1: i32;
+ var num1: i64;
const num2 = 23232;
const num3 = num1 + num2 * 30;
const num4 = (num1 + num2) * num3 * ((34 + 32) / 234.345);