diff --git a/test/stage2/plan9.zig b/test/stage2/plan9.zig index 09affac763407a62b1f142abd4b7d00619a47c83..c82f95aa7bba98de374da7034063b9cebbd4f14f 100644 --- a/test/stage2/plan9.zig +++ b/test/stage2/plan9.zig @@ -43,6 +43,13 @@ pub fn addCases(ctx: *TestContext) !void { \\ : "rcx", "rbp", "r11", "memory" \\ ); \\} - , ""); + , "Hello World\n"); + case.addCompareOutput( + \\const std = @import("std"); + \\pub fn main() void { + \\ const str = "Hello World!\n"; + \\ _ = std.os.plan9.pwrite(1, str, str.len, 0); + \\} + , "Hello World\n"); } }