zig/test/cases/plan9/hello_world_with_updates.1.zig
Jacob Young 74b14edea8 link: fix memory leaks
* Fix linker memory leaks found while running `zig build test-cases`.
 * Add missing target to test manifest.
2022-12-28 14:24:27 -05:00

12 lines
186 B
Zig

const std = @import("std");
pub fn main() void {
const str = "Hello World!\n";
_ = std.os.plan9.pwrite(1, str, str.len, 0);
}
// run
// target=x86_64-plan9
//
// Hello World
//