mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 08:04:50 +01:00
8 lines
170 B
Zig
8 lines
170 B
Zig
export fn a() void {
|
|
var array: [0]void = undefined;
|
|
_ = array[0..undefined];
|
|
}
|
|
|
|
// error
|
|
//
|
|
// :3:18: error: use of undefined value here causes illegal behavior
|