Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
unreachable_parameter.zig
pretty
plain
permalink
blame
history
•
10 lines
•
144 B
1
fn f(a: noreturn) void {
2
_ = a;
3
}
4
export fn entry() void {
5
f();
6
}
7
8
// error
9
//
10
// :1:6: error: parameter of type 'noreturn' not allowed