mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
19 lines
248 B
D
19 lines
248 B
D
// REQUIRED_ARGS: -w
|
|
// https://issues.dlang.org/show_bug.cgi?id=13858
|
|
|
|
void foo() { assert(0); }
|
|
|
|
void main()
|
|
{
|
|
int x = 0;
|
|
|
|
LSwitch: switch (x)
|
|
{
|
|
case 0:
|
|
break LSwitch;
|
|
|
|
default: return;
|
|
}
|
|
|
|
foo();
|
|
}
|