diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-02-11 16:01:58 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-11 16:01:58 -0800 |
| commit | d3565ed6b48c9c66128f181e7b90b5348504cb3f (patch) | |
| tree | 99a03080830c1f9433046427feb18f90cade6c09 /test/cli.zig | |
| parent | d98f09e4f67fb2848be6052466db035450326605 (diff) | |
| parent | bb4f4c043e7dde4e8b9fcbf0af9329d3fd08ff7b (diff) | |
| download | zig-d3565ed6b48c9c66128f181e7b90b5348504cb3f.tar.gz zig-d3565ed6b48c9c66128f181e7b90b5348504cb3f.zip | |
Merge pull request #7749 from tadeokondrak/6429-callconv-inline
Replace inline fn with callconv(.Inline)
Diffstat (limited to 'test/cli.zig')
| -rw-r--r-- | test/cli.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cli.zig b/test/cli.zig index 8dbef06887..c0702fa54c 100644 --- a/test/cli.zig +++ b/test/cli.zig @@ -113,7 +113,7 @@ fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void { \\ return num * num; \\} \\extern fn zig_panic() noreturn; - \\pub inline fn panic(msg: []const u8, error_return_trace: ?*@import("builtin").StackTrace) noreturn { + \\pub fn panic(msg: []const u8, error_return_trace: ?*@import("builtin").StackTrace) noreturn { \\ zig_panic(); \\} ); |
