summaryrefslogtreecommitdiff
path: root/test/slice.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/slice.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/slice.myr')
-rw-r--r--test/slice.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/slice.myr b/test/slice.myr
index b1b4958..b8b1678 100644
--- a/test/slice.myr
+++ b/test/slice.myr
@@ -1,3 +1,4 @@
+use std
/* checks that taking slices of arrays works. should exit with 7 */
const main = {
var a : int[3]