| ... | @@ -4,7 +4,6 @@ pub fn addCases(cases: *tests.CompareOutputContext) void { | ... | @@ -4,7 +4,6 @@ pub fn addCases(cases: *tests.CompareOutputContext) void { |
| 4 | cases.addRuntimeSafety("shift left by huge amount", | 4 | cases.addRuntimeSafety("shift left by huge amount", |
| 5 | \\const std = @import("std"); | 5 | \\const std = @import("std"); |
| 6 | \\pub fn panic(message: []const u8, stack_trace: ?*@import("builtin").StackTrace) noreturn { | 6 | \\pub fn panic(message: []const u8, stack_trace: ?*@import("builtin").StackTrace) noreturn { |
| 7 | \\ std.debug.warn("{}\n", .{message}); | | |
| 8 | \\ if (std.mem.eql(u8, message, "shift amount is greater than the type size")) { | 7 | \\ if (std.mem.eql(u8, message, "shift amount is greater than the type size")) { |
| 9 | \\ std.process.exit(126); // good | 8 | \\ std.process.exit(126); // good |
| 10 | \\ } | 9 | \\ } |