| ... | @@ -43,6 +43,13 @@ pub fn addCases(ctx: *TestContext) !void { | ... | @@ -43,6 +43,13 @@ pub fn addCases(ctx: *TestContext) !void { |
| 43 | \\ : "rcx", "rbp", "r11", "memory" | 43 | \\ : "rcx", "rbp", "r11", "memory" |
| 44 | \\ ); | 44 | \\ ); |
| 45 | \\} | 45 | \\} |
| 46 | , ""); | 46 | , "Hello World\n"); |
| | 47 | case.addCompareOutput( |
| | 48 | \\const std = @import("std"); |
| | 49 | \\pub fn main() void { |
| | 50 | \\ const str = "Hello World!\n"; |
| | 51 | \\ _ = std.os.plan9.pwrite(1, str, str.len, 0); |
| | 52 | \\} |
| | 53 | , "Hello World\n"); |
| 47 | } | 54 | } |
| 48 | } | 55 | } |