mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-10-29 03:06:10 +08:00
10 lines
176 B
Zig
10 lines
176 B
Zig
const std = @import("std");
|
|
|
|
pub const panic = std.debug.simple_panic;
|
|
|
|
pub fn main() void {
|
|
@panic("this makes the compiler reference the panic namespace");
|
|
}
|
|
|
|
// compile
|