fix c hello world example

This commit is contained in:
Andrew Kelley 2016-08-30 20:48:30 -07:00
parent 9193a3cdad
commit 289bfa890b

View File

@ -1,4 +1,4 @@
const c = @c_import(@c_include("stdio.h"));
const c = @cImport(@cInclude("stdio.h"));
export fn main(argc: c_int, argv: &&u8) -> c_int {
c.printf(c"Hello, world!\n");