summaryrefslogtreecommitdiff
path: root/test/condifrel.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-07-23 23:33:35 -0400
committerOri Bernstein <ori@eigenstate.org>2012-07-23 23:33:35 -0400
commitde2876e46f5e7534cc986b351eea85abd788d425 (patch)
treed4f9c66c73f6bae5ea82749f41ab8f703716ea90 /test/condifrel.myr
parentc97f69cb8e5300d8048604863b451e3685e8f105 (diff)
downloadmc-de2876e46f5e7534cc986b351eea85abd788d425.tar.gz
Fix flipped operands and misnamed instructions.
Diffstat (limited to 'test/condifrel.myr')
-rw-r--r--test/condifrel.myr10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/condifrel.myr b/test/condifrel.myr
new file mode 100644
index 0000000..f76f5f3
--- /dev/null
+++ b/test/condifrel.myr
@@ -0,0 +1,10 @@
+
+var x = 3
+var y = 9
+const main = {
+ if x < 5 && y > 7
+ -> 7
+ else
+ -> 9
+ ;;
+}