mirror of
https://github.com/ziglang/zig.git
synced 2025-12-13 01:33:09 +00:00
13 lines
176 B
Zig
13 lines
176 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
|
|
//
|
|
// hello world!
|
|
//
|