mirror of
https://github.com/ziglang/zig.git
synced 2025-12-14 02:03:08 +00:00
12 lines
185 B
Zig
12 lines
185 B
Zig
const std = @import("std");
|
|
pub fn do() bool {
|
|
inline for (.{"a"}) |_| {
|
|
if (true) return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
test "bug" {
|
|
try std.testing.expect(!do());
|
|
}
|