mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
15 lines
195 B
D
15 lines
195 B
D
// https://issues.dlang.org/show_bug.cgi?id=23862
|
|
|
|
enum E { A, B }
|
|
|
|
void test(E e)
|
|
{
|
|
with (e)
|
|
switch (e)
|
|
{
|
|
case A:
|
|
case B:
|
|
default:
|
|
break;
|
|
}
|
|
}
|