Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
empty_switch_on_an_integer.zig
pretty
plain
permalink
blame
history
•
8 lines
•
133 B
1
export fn entry() void {
2
const x: u32 = 0;
3
switch (x) {}
4
}
5
6
// error
7
//
8
// :3:5: error: switch must handle all possibilities