summaryrefslogtreecommitdiff
path: root/test/ptrpreinc.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/ptrpreinc.myr
parent543887f46d1d7796bd8f1e6d329401197b19ec56 (diff)
downloadmc-3e92cda1745121a0545c581d9f135feed9e280bd.tar.gz
'#' is now the postfix pointer deref operator.
This makes operator precedence less confusing.
Diffstat (limited to 'test/ptrpreinc.myr')
-rw-r--r--test/ptrpreinc.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ptrpreinc.myr b/test/ptrpreinc.myr
index 22a0706..ac4fe1e 100644
--- a/test/ptrpreinc.myr
+++ b/test/ptrpreinc.myr
@@ -1,7 +1,7 @@
use std
/* should preincrement through a pointer, exiting with status 9 */
const ppreinc = {p
- -> ++*p
+ -> ++p#
}
const main = {