mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
9 lines
153 B
Zig
9 lines
153 B
Zig
test "foo" {
|
|
comptime {
|
|
var i = 0;
|
|
while (i < 1001) : (i += 1) {}
|
|
}
|
|
}
|
|
|
|
// test_error=evaluation exceeded 1000 backwards branches
|