zig/example/hello_world/hello.zig
Andrew Kelley 5e212db29c parsing error value decls and error value literals
and return with '?' or '%' prefix
2016-01-20 18:18:50 -07:00

10 lines
175 B
Zig

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;
}