| author | |
| committer | |
| log | 6d048aa3bfabf43da40966b01d8a4717bd8fe9b7 |
| tree | ed65ef4c576ecc5c267b00d616b8b8177d6b5e56 |
| parent | a155f2973b681dd984ddaba7686dc7c07347120c |
| signature |
1 files changed, 4 insertions(+), 0 deletions(-)
test/cli.zig+4| ... | ... | @@ -107,6 +107,10 @@ fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) !void { |
| 107 | 107 | \\export fn square(num: i32) i32 { |
| 108 | 108 | \\ return num * num; |
| 109 | 109 | \\} |
| 110 | \\extern fn zig_panic() noreturn; | |
| 111 | \\pub inline fn panic(msg: []const u8, error_return_trace: ?*@import("builtin").StackTrace) noreturn { | |
| 112 | \\ zig_panic(); | |
| 113 | \\} | |
| 110 | 114 | ); |
| 111 | 115 | |
| 112 | 116 | const args = [][]const u8{ |