Learning Zig from the official language reference.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
zig-langref/unreachable.zig

7 lines
106 B

test "unreachable" {
const x = 1;
const y = 2;
if (x + y != 3) {
unreachable;
}
}