blob: 7e4ef7ce675febbb70b3945d11037d1c7d90eb7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
const std = @import("std");
const builtin = @import("builtin");
pub fn do() bool {
inline for (.{"a"}) |_| {
if (true) return false;
}
return true;
}
test "bug" {
try std.testing.expect(!do());
}
|