Add test for multi-line while cont expr with same-line then expr

This commit is contained in:
Lewis Gaul 2021-03-15 14:23:26 +00:00 committed by Isaac Freund
parent 48efa3bcb6
commit aa1c780560

View File

@ -3068,6 +3068,11 @@ test "zig fmt: while" {
\\ while (i < 10) : ({
\\ i += 1;
\\ j += 1;
\\ }) continue;
\\
\\ while (i < 10) : ({
\\ i += 1;
\\ j += 1;
\\ }) {
\\ continue;
\\ }