mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
14 lines
205 B
Zig
14 lines
205 B
Zig
extern fn puts(s: [*:0]const u8) c_int;
|
|
|
|
pub fn main() void {
|
|
_ = puts("hello world!");
|
|
}
|
|
|
|
// run
|
|
// backend=selfhosted,llvm
|
|
// target=x86_64-linux,x86_64-macos
|
|
// link_libc=true
|
|
//
|
|
// hello world!
|
|
//
|