mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
Add test for multi-line while cont expr with same-line then expr
This commit is contained in:
parent
48efa3bcb6
commit
aa1c780560
@ -3068,6 +3068,11 @@ test "zig fmt: while" {
|
||||
\\ while (i < 10) : ({
|
||||
\\ i += 1;
|
||||
\\ j += 1;
|
||||
\\ }) continue;
|
||||
\\
|
||||
\\ while (i < 10) : ({
|
||||
\\ i += 1;
|
||||
\\ j += 1;
|
||||
\\ }) {
|
||||
\\ continue;
|
||||
\\ }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user