aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-03-09 00:43:13 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit9428fceb0cacf5ff9e19116de658bcffb98efc6f (patch)
treeb281b6e047195c4f9c49de98919c8b99171dccec /tests
parent18fb99add7f0d4b710debcbf5c154f9c1d841845 (diff)
Add check for duplicate variable names
Diffstat (limited to 'tests')
-rw-r--r--tests/main.amal1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/main.amal b/tests/main.amal
index a7b4576..786724c 100644
--- a/tests/main.amal
+++ b/tests/main.amal
@@ -10,6 +10,7 @@ const main = fn {
const num2 = 23232;
const num3 = num1 + num2 * 30;
const num4 = (num1 + num2) * num3 * ((34 + 32) / 234.345);
+ const num4 = 23;
}
const print = fn {