commit 3a4a710894698f589a9f1a0f6fcc7517aec532cb (tree)
parent 189fc964f749eeb83f184fa497438cb06e0008a0
Author: Andrew Kelley <andrew@ziglang.org>
Date: Tue, 22 Jun 2021 16:50:31 -0700
update godbolt test case for unused parameter
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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();
\\}
);