zig/doc/langref/test_undefined_behavior.zig

6 lines
81 B
Zig

test "safety check" {
unreachable;
}
// test_error=reached unreachable code