mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
13 lines
205 B
Zig
13 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!
|
|
//
|