fix c hello world example

master
Andrew Kelley 2016-08-30 20:48:30 -07:00
parent 9193a3cdad
commit 289bfa890b
1 changed files with 1 additions and 1 deletions

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");