2016-08-31 11:48:30 +08:00
|
|
|
const c = @cImport(@cInclude("stdio.h"));
|
2015-12-12 17:05:08 +08:00
|
|
|
|
2016-01-26 14:21:13 +08:00
|
|
|
export fn main(argc: c_int, argv: &&u8) -> c_int {
|
2017-03-13 23:54:56 +08:00
|
|
|
_ = c.printf(c"Hello, world!\n");
|
2015-12-16 03:44:42 +08:00
|
|
|
return 0;
|
2015-12-12 17:05:08 +08:00
|
|
|
}
|