summaryrefslogtreecommitdiff
path: root/test/arrayaddr.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-02-20 02:15:01 -0500
committerOri Bernstein <ori@eigenstate.org>2013-02-20 02:15:01 -0500
commit3e92cda1745121a0545c581d9f135feed9e280bd (patch)
tree4a594c23003a52e5d66b2a79fbca5d5733631b11 /test/arrayaddr.myr
parent543887f46d1d7796bd8f1e6d329401197b19ec56 (diff)
downloadmc-3e92cda1745121a0545c581d9f135feed9e280bd.tar.gz
'#' is now the postfix pointer deref operator.
This makes operator precedence less confusing.
Diffstat (limited to 'test/arrayaddr.myr')
-rw-r--r--test/arrayaddr.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/arrayaddr.myr b/test/arrayaddr.myr
index ec325f5..06035d4 100644
--- a/test/arrayaddr.myr
+++ b/test/arrayaddr.myr
@@ -6,6 +6,6 @@ const main = {
v[1] = 42
p = &v[1]
- -> *p
+ -> p#
}