mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-28 11:27:09 +03:00
debf307594
they're still not passing on windows for some reason though
21 lines
573 B
Plaintext
21 lines
573 B
Plaintext
#target=x86_64-linux-selfhosted
|
|
#target=x86_64-windows-selfhosted
|
|
#target=wasm32-wasi-selfhosted
|
|
#update=initial version
|
|
#file=main.zig
|
|
const std = @import("std");
|
|
pub fn main() !void {
|
|
try std.Io.File.stdout().writeStreamingAll(io, "foo\n");
|
|
}
|
|
const io = std.Io.Threaded.global_single_threaded.ioBasic();
|
|
#expect_stdout="foo\n"
|
|
#update=change line number
|
|
#file=main.zig
|
|
const std = @import("std");
|
|
|
|
pub fn main() !void {
|
|
try std.Io.File.stdout().writeStreamingAll(io, "foo\n");
|
|
}
|
|
const io = std.Io.Threaded.global_single_threaded.ioBasic();
|
|
#expect_stdout="foo\n"
|