zig/test/standalone/issue_8550/main.zig
2022-09-20 19:05:00 -07:00

12 lines
338 B
Zig

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, _: ?usize) noreturn {
_ = msg;
_ = error_return_trace;
while (true) {}
}