aboutsummaryrefslogtreecommitdiff
path: root/test/cli.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/cli.zig')
-rw-r--r--test/cli.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cli.zig b/test/cli.zig
index 556452f832..e3a00fe735 100644
--- a/test/cli.zig
+++ b/test/cli.zig
@@ -116,6 +116,8 @@ fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void {
\\}
\\extern fn zig_panic() noreturn;
\\pub fn panic(msg: []const u8, error_return_trace: ?*@import("std").builtin.StackTrace) noreturn {
+ \\ _ = msg;
+ \\ _ = error_return_trace;
\\ zig_panic();
\\}
);