zig/test/cases/x86_64-windows/hello_world_with_updates.2.zig

17 lines
235 B
Zig

const std = @import("std");
pub fn main() void {
print();
}
fn print() void {
const msg = "Hello, World!\n";
const stdout = std.io.getStdOut();
stdout.writeAll(msg) catch unreachable;
}
// run
//
// Hello, World!
//