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