| 1 | #update=initial version |
| 2 | #file=main.zig |
| 3 | const std = @import("std"); |
| 4 | pub fn main() !void { |
| 5 | try std.Io.File.stdout().writeStreamingAll(io, "foo\n"); |
| 6 | } |
| 7 | const io = std.Io.Threaded.global_single_threaded.io(); |
| 8 | #expect_stdout="foo\n" |
| 9 | #update=change line number |
| 10 | #file=main.zig |
| 11 | const std = @import("std"); |
| 12 | |
| 13 | pub fn main() !void { |
| 14 | try std.Io.File.stdout().writeStreamingAll(io, "foo\n"); |
| 15 | } |
| 16 | const io = std.Io.Threaded.global_single_threaded.io(); |
| 17 | #expect_stdout="foo\n" |