summaryrefslogtreecommitdiff
path: root/test/structarray.myr
diff options
context:
space:
mode:
authorOri Bernstein <orib@google.com>2012-08-15 19:16:32 -0400
committerOri Bernstein <orib@google.com>2012-08-15 19:16:32 -0400
commitf560f4097c26ef03098785200460b7bad33788fa (patch)
treea27f4e281e676cabc7c0753e8b9924b50b2b7901 /test/structarray.myr
parent9f63c5e1604604304b94dea8a4a798ec9f0f5eda (diff)
downloadmc-f560f4097c26ef03098785200460b7bad33788fa.tar.gz
Fix bug in text value.
Tests work better if they produce the right answer...
Diffstat (limited to 'test/structarray.myr')
-rw-r--r--test/structarray.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/structarray.myr b/test/structarray.myr
index 682d631..075a73f 100644
--- a/test/structarray.myr
+++ b/test/structarray.myr
@@ -5,7 +5,7 @@ type t = struct
const main = {
var v : t
- v.a[0] = 12
+ v.a[0] = 11
v.a[1] = 20
-> 2*v.a[0] + v.a[1]