summaryrefslogtreecommitdiff
path: root/test/outparam.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/outparam.myr
parent543887f46d1d7796bd8f1e6d329401197b19ec56 (diff)
downloadmc-3e92cda1745121a0545c581d9f135feed9e280bd.tar.gz
'#' is now the postfix pointer deref operator.
This makes operator precedence less confusing.
Diffstat (limited to 'test/outparam.myr')
-rw-r--r--test/outparam.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/outparam.myr b/test/outparam.myr
index 167fa48..8d9e790 100644
--- a/test/outparam.myr
+++ b/test/outparam.myr
@@ -1,7 +1,7 @@
use std
/* should assign through an out pointer parameter, exiting with status 42 */
const f = {out
- *out = 42
+ out# = 42
}
const main = {