aboutsummaryrefslogtreecommitdiff
path: root/test/cases/hello_world.zig
blob: 8a75c68d2b84bcdf2d179ffed204288a85a941e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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!
//