https://issues.dlang.org/show_bug.cgi?id=16523
--- Comment #1 from b2.temp at gmx.com ---
The culprit is the local variable, as shown by this reduction
void main()
{
int i;
switch(i)
{
int j;
case j:{}
default: break;
}
}
which produces the same error.
--