11 lines
151 B
Zig
11 lines
151 B
Zig
comptime {
|
|
var x: i32 = 1;
|
|
x += 1;
|
|
if (x != 1) unreachable;
|
|
}
|
|
pub fn main() void {}
|
|
|
|
// error
|
|
//
|
|
// :4:17: error: reached unreachable code
|