| 1 | export fn entry() void { |
| 2 | const ints = [_]u8{ 1, 2 }; |
| 3 | inline for (ints) |_| { |
| 4 | bad() catch continue; |
| 5 | } |
| 6 | } |
| 7 | fn bad() !void { |
| 8 | return error.Bad; |
| 9 | } |
| 10 | |
| 11 | // error |
| 12 | // |
| 13 | // :4:21: error: comptime control flow inside runtime block |
| 14 | // :4:15: note: runtime control flow here |