zig/doc/langref/test_setEvalBranchQuota_builtin.zig

10 lines
138 B
Zig

test "foo" {
comptime {
@setEvalBranchQuota(1001);
var i = 0;
while (i < 1001) : (i += 1) {}
}
}
// test