summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/syntax/constant_redefinition.tig
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/tests/syntax/constant_redefinition.tig')
-rw-r--r--tiger-compiler/tests/syntax/constant_redefinition.tig2
1 files changed, 2 insertions, 0 deletions
diff --git a/tiger-compiler/tests/syntax/constant_redefinition.tig b/tiger-compiler/tests/syntax/constant_redefinition.tig
new file mode 100644
index 0000000..125c3f7
--- /dev/null
+++ b/tiger-compiler/tests/syntax/constant_redefinition.tig
@@ -0,0 +1,2 @@
+/* Expressions cannot be at the left side of an asignment */
+"beak" := 15