summaryrefslogtreecommitdiff
path: root/test/ptrpreinc.myr
diff options
context:
space:
mode:
authorOri Bernstein <orib@google.com>2013-02-19 13:01:03 -0500
committerOri Bernstein <orib@google.com>2013-02-19 13:01:03 -0500
commitae6e5736ca20bb724632b4491d0cfd72e48c99a5 (patch)
treef0d09f756bfcc65a736a17578373960f9c3941eb /test/ptrpreinc.myr
parent231f122bcbc9010decfaae7942916d7ce948767d (diff)
downloadmc-ae6e5736ca20bb724632b4491d0cfd72e48c99a5.tar.gz
Use 'myrbuild' to build the tests
This both tests 'myrbuild', and ensures that we handle dependencies and such correctly.
Diffstat (limited to 'test/ptrpreinc.myr')
-rw-r--r--test/ptrpreinc.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ptrpreinc.myr b/test/ptrpreinc.myr
index f60e6aa..22a0706 100644
--- a/test/ptrpreinc.myr
+++ b/test/ptrpreinc.myr
@@ -1,3 +1,4 @@
+use std
/* should preincrement through a pointer, exiting with status 9 */
const ppreinc = {p
-> ++*p