aboutsummaryrefslogtreecommitdiff
path: root/examples/learn/01-hello.zc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/learn/01-hello.zc')
-rw-r--r--examples/learn/01-hello.zc5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/learn/01-hello.zc b/examples/learn/01-hello.zc
index 10cf4bf..c102c6c 100644
--- a/examples/learn/01-hello.zc
+++ b/examples/learn/01-hello.zc
@@ -1,4 +1,5 @@
+namespace;
+include rt;
fn main() {
- put_s("hello, world!\n");
- return 0;
+ rt.put_s("hello, world!\n");
}