mirror of
https://github.com/ziglang/zig.git
synced 2026-12-05 17:38:51 -05:00
11 lines
177 B
Zig
11 lines
177 B
Zig
comptime {
|
|
var a: bool = undefined;
|
|
_ = a and a;
|
|
}
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :3:9: error: use of undefined value here causes undefined behavior
|