Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
panic_called_at_compile_time.zig
pretty
plain
permalink
blame
history
•
11 lines
•
161 B
1
export fn entry() void {
2
comptime {
3
@panic(
4
"aoeu",
5
);
6
}
7
}
8
9
// error
10
//
11
// :3:9: error: encountered @panic at comptime: aoeu