summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/llvmtranslate/variable_compared_to_variable.tig
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/tests/llvmtranslate/variable_compared_to_variable.tig')
-rw-r--r--tiger-compiler/tests/llvmtranslate/variable_compared_to_variable.tig6
1 files changed, 6 insertions, 0 deletions
diff --git a/tiger-compiler/tests/llvmtranslate/variable_compared_to_variable.tig b/tiger-compiler/tests/llvmtranslate/variable_compared_to_variable.tig
new file mode 100644
index 0000000..a1b70ad
--- /dev/null
+++ b/tiger-compiler/tests/llvmtranslate/variable_compared_to_variable.tig
@@ -0,0 +1,6 @@
+let
+ var a := 5
+ var b := 6
+ in
+ a = b
+end