summaryrefslogtreecommitdiff
path: root/test/helloworld.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-09-27 20:10:27 -0400
committerOri Bernstein <ori@eigenstate.org>2012-09-27 20:10:27 -0400
commit02922f0289a990a65ad7ede45f2a2e54df7c7162 (patch)
tree011fb38f15657c9bb623b0871da726810bb65e1a /test/helloworld.myr
parentb43c9855d957cb62e91425cf645a379e44bb883d (diff)
downloadmc-02922f0289a990a65ad7ede45f2a2e54df7c7162.tar.gz
Add first test that uses libstd.
Diffstat (limited to 'test/helloworld.myr')
-rw-r--r--test/helloworld.myr7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/helloworld.myr b/test/helloworld.myr
new file mode 100644
index 0000000..940e20c
--- /dev/null
+++ b/test/helloworld.myr
@@ -0,0 +1,7 @@
+use std
+
+const main = {args : byte[:][:]
+ std.write(1, "Hello-世界\n")
+ -> 0
+}
+