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