Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
assign_unreachable.zig
pretty
plain
permalink
blame
history
•
9 lines
•
148 B
1
export fn f() void {
2
const a = return;
3
_ = a;
4
}
5
6
// error
7
//
8
// :2:5: error: unreachable code
9
// :2:15: note: control flow is diverted here