dfmt/tests/allman/issue0100.d.ref

15 lines
221 B
Plaintext

unittest
{
loop: while (i < tokens.length) switch (tokens[i].type)
{
case tok!"(":
parenDepth++;
i++;
break;
case tok!"{":
braceDepth++;
i++;
break;
}
}