master
 1#target=x86_64-linux-selfhosted
 2#target=x86_64-windows-selfhosted
 3#target=x86_64-linux-cbe
 4#target=x86_64-windows-cbe
 5#target=wasm32-wasi-selfhosted
 6
 7#update=initial version with no compile log
 8#file=main.zig
 9const std = @import("std");
10pub fn main() !void {
11    try std.fs.File.stdout().writeAll("Hello, World!\n");
12}
13#expect_stdout="Hello, World!\n"
14
15#update=add compile log
16#file=main.zig
17const std = @import("std");
18pub fn main() !void {
19    try std.fs.File.stdout().writeAll("Hello, World!\n");
20    @compileLog("this is a log");
21}
22#expect_error=main.zig:4:5: error: found compile log statement
23#expect_compile_log=@as(*const [13:0]u8, "this is a log")
24
25#update=remove compile log
26#file=main.zig
27const std = @import("std");
28pub fn main() !void {
29    try std.fs.File.stdout().writeAll("Hello, World!\n");
30}
31#expect_stdout="Hello, World!\n"