mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
4dba253cd2
There is nothing inherently LLVM-specific about any of these.
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!
|
|
//
|