zig/test/standalone/issue_8550/main.zig

12 lines
327 B
Zig
Raw Normal View History

2021-06-21 22:14:28 +01:00
export fn main(r0: u32, r1: u32, atags: u32) callconv(.C) noreturn {
_ = r0;
_ = r1;
_ = atags;
unreachable; // never gets run so it doesn't matter
}
pub fn panic(msg: []const u8, error_return_trace: ?*@import("std").builtin.StackTrace) noreturn {
2021-06-20 02:10:22 +01:00
_ = msg;
_ = error_return_trace;
while (true) {}
}