aboutsummaryrefslogtreecommitdiff
path: root/exercises/032_unreachable.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/032_unreachable.zig')
-rw-r--r--exercises/032_unreachable.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/exercises/032_unreachable.zig b/exercises/032_unreachable.zig
index ffc35a4..7fe5fc1 100644
--- a/exercises/032_unreachable.zig
+++ b/exercises/032_unreachable.zig
@@ -35,6 +35,7 @@ pub fn main() void {
3 => {
current_value *= current_value;
},
+ else => unreachable,
}
std.debug.print("{} ", .{current_value});