mirror of
https://github.com/dlang-community/dfmt.git
synced 2025-04-25 21:00:03 +03:00
20 lines
285 B
D
20 lines
285 B
D
void fun()
|
|
{
|
|
if (something) foreach (_; 0 .. 100)
|
|
if (true)
|
|
{
|
|
if (stuff)
|
|
doStuff();
|
|
else
|
|
morestuff();
|
|
}
|
|
else
|
|
doStuff();
|
|
|
|
cast(structalign_t) 1;
|
|
for (*cost = 0; sc; sc = sc.enclosing, (*cost)++)
|
|
if (sc.scopesym == scopesym)
|
|
break;
|
|
else
|
|
a++;
|
|
}
|