mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
20 lines
541 B
Plaintext
20 lines
541 B
Plaintext
#target=x86_64-linux-selfhosted
|
|
#target=x86_64-windows-selfhosted
|
|
#target=x86_64-linux-cbe
|
|
#target=x86_64-windows-cbe
|
|
#target=wasm32-wasi-selfhosted
|
|
#update=initial version
|
|
#file=main.zig
|
|
const std = @import("std");
|
|
pub fn main() !void {
|
|
try std.fs.File.stdout().writeAll("good morning\n");
|
|
}
|
|
#expect_stdout="good morning\n"
|
|
#update=change the string
|
|
#file=main.zig
|
|
const std = @import("std");
|
|
pub fn main() !void {
|
|
try std.fs.File.stdout().writeAll("おはようございます\n");
|
|
}
|
|
#expect_stdout="おはようございます\n"
|