#zig build-exe {
--name test
-Mroot=test.zig
#}

#write test.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.io();
#}
#update
#check stdout {
foo
#}

#write test.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.io();
#}
#update "change line number"
#check stdout {
foo
#}
