aboutsummaryrefslogtreecommitdiff
path: root/test/standalone/compile_asm/main.zig
blob: 1e6c93e562dee9f1d7eab41b4214241cfc4cc754 (plain)
1
2
3
4
5
6
7
8
9
10
11
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) {}
}