12-loops: fix scope test Signed-off-by: Lorenz (xha) <me@xha.li>
1 files changed, 1 insertions(+), 1 deletions(-) M tests/12-loops.ha
M tests/12-loops.ha => tests/12-loops.ha +1 -1
@@ 9,7 9,7 @@ fn scope() void = { break; }; }; compile(status::CHECK, "fn test() void = { for (true) { let x = 10; }; x; };")!; compile(status::CHECK, "fn test() void = { for (true) { let x = 10; break; }; x; };")!; // To make sure that the afterthought is part of the loop's scope for (let i = 0; true; (if (true) { break; })) true; };