mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-06-22 16:40:57 -04:00
9 lines
161 B
Zig
9 lines
161 B
Zig
comptime {
|
|
const a: anyerror!bool = undefined;
|
|
if (a catch false) {}
|
|
}
|
|
|
|
// error
|
|
//
|
|
// :3:11: error: use of undefined value here causes illegal behavior
|