summaryrefslogtreecommitdiff
path: root/test/gsizeof.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/gsizeof.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/gsizeof.myr')
-rw-r--r--test/gsizeof.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/gsizeof.myr b/test/gsizeof.myr
index 6322c06..15675e4 100644
--- a/test/gsizeof.myr
+++ b/test/gsizeof.myr
@@ -1,3 +1,4 @@
+use std
/* checks that sizeof works on generics. exits with 5. */
generic sz = {a:@a
-> sizeof(@a)