diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-01-23 02:14:01 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-01-23 02:14:01 -0700 |
| commit | c0ea9290c4576f2111c8fc6b2d448f278effd80e (patch) | |
| tree | c4b789b675b0083b3d9c2e32550a0299f2546cf5 /example/hello_world/hello.zig | |
| parent | 91d911007b8a12405c084cff53237ac26b1f2c5f (diff) | |
| download | zig-c0ea9290c4576f2111c8fc6b2d448f278effd80e.tar.gz zig-c0ea9290c4576f2111c8fc6b2d448f278effd80e.zip | |
main returns %void
Diffstat (limited to 'example/hello_world/hello.zig')
| -rw-r--r-- | example/hello_world/hello.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/example/hello_world/hello.zig b/example/hello_world/hello.zig index 63b7a44d1b..c116eeea7b 100644 --- a/example/hello_world/hello.zig +++ b/example/hello_world/hello.zig @@ -2,8 +2,7 @@ export executable "hello"; import "std.zig"; -pub fn main(args: [][]u8) i32 => { +pub fn main(args: [][]u8) %void => { //stderr.print_str("Hello, world!\n"); print_str("Hello, world!\n"); - return 0; } |
