aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/arithmetic_incompatible_types.amal
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/arithmetic_incompatible_types.amal')
-rw-r--r--tests/errors/arithmetic_incompatible_types.amal5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/errors/arithmetic_incompatible_types.amal b/tests/errors/arithmetic_incompatible_types.amal
new file mode 100644
index 0000000..367e5ed
--- /dev/null
+++ b/tests/errors/arithmetic_incompatible_types.amal
@@ -0,0 +1,5 @@
+const main = fn {
+ const value = 23;
+ const value2 = "sadsa";
+ const value3 = value + value2;
+} \ No newline at end of file