| 1 |
// REQUIRED_ARGS: -o- -w |
| 2 |
|
| 3 |
int bug17807(){ |
| 4 |
int y=0; |
| 5 |
Lswitch: switch(2){ |
| 6 |
{ case 0: break; } |
| 7 |
enum x=0; |
| 8 |
struct S{ enum x=0; } |
| 9 |
int foo(){ |
| 10 |
return 0; |
| 11 |
} |
| 12 |
default: y=x+S.x+foo(); |
| 13 |
static foreach(i;1..5) |
| 14 |
case i: break Lswitch; |
| 15 |
} |
| 16 |
return y; |
| 17 |
} |