aboutsummaryrefslogtreecommitdiff
path: root/example/hello_world/hello.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-01-20 18:18:50 -0700
committerAndrew Kelley <superjoe30@gmail.com>2016-01-20 18:18:50 -0700
commit5e212db29cf9e2c06aba363736ffb965e631aa2d (patch)
tree2ec22f86549bca4cceb423bb3b66aa796754951f /example/hello_world/hello.zig
parent82d1b51b1d34a0c1b21ec2aaae70051379b37f43 (diff)
downloadzig-5e212db29cf9e2c06aba363736ffb965e631aa2d.tar.gz
zig-5e212db29cf9e2c06aba363736ffb965e631aa2d.zip
parsing error value decls and error value literals
and return with '?' or '%' prefix
Diffstat (limited to 'example/hello_world/hello.zig')
-rw-r--r--example/hello_world/hello.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/hello_world/hello.zig b/example/hello_world/hello.zig
index 6a0fc6283b..63b7a44d1b 100644
--- a/example/hello_world/hello.zig
+++ b/example/hello_world/hello.zig
@@ -3,6 +3,7 @@ export executable "hello";
import "std.zig";
pub fn main(args: [][]u8) i32 => {
+ //stderr.print_str("Hello, world!\n");
print_str("Hello, world!\n");
return 0;
}