summaryrefslogtreecommitdiff
path: root/test/mul.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-06-15 13:05:45 -0400
committerOri Bernstein <ori@eigenstate.org>2012-06-15 13:05:45 -0400
commit3a076cf836169c7483321ce396bf61ea6fd08db6 (patch)
tree4c6789d3a53d6c79a20ace0f3a545817c15af93f /test/mul.myr
parent76052f85cadd41162d999b7fa402d7d1e7488b0d (diff)
downloadmc-3a076cf836169c7483321ce396bf61ea6fd08db6.tar.gz
Acutally store initializers.
Diffstat (limited to 'test/mul.myr')
-rw-r--r--test/mul.myr5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/mul.myr b/test/mul.myr
index 1a10586..e0971e4 100644
--- a/test/mul.myr
+++ b/test/mul.myr
@@ -1,3 +1,6 @@
const main = {
- -> 7 * 2 * 3
+ var a = 7
+ var b = 2
+ var c = 3
+ -> a * b * c
}