dfmt/tests/issue0050.d

21 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++;
}