zig/test/cases/llvm/hello_world.zig

14 lines
194 B
Zig

extern fn puts(s: [*:0]const u8) c_int;
pub fn main() void {
_ = puts("hello world!");
}
// run
// backend=llvm
// target=x86_64-linux,x86_64-macos
// link_libc=true
//
// hello world!
//