Add test for multi-line while cont expr with same-line then expr
This commit is contained in:
@@ -3068,6 +3068,11 @@ test "zig fmt: while" {
|
||||
\\ while (i < 10) : ({
|
||||
\\ i += 1;
|
||||
\\ j += 1;
|
||||
\\ }) continue;
|
||||
\\
|
||||
\\ while (i < 10) : ({
|
||||
\\ i += 1;
|
||||
\\ j += 1;
|
||||
\\ }) {
|
||||
\\ continue;
|
||||
\\ }
|
||||
|
||||
Reference in New Issue
Block a user