blob: 9e79a20780c0129de3c122ea2400250534c148fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
alias TestType = ubyte;
void test(immutable TestType a, immutable TestType b, TestType c)
{
switch(c)
{
case a: break;
case (cast(ushort)b): break;
default: assert(false);
}
}
|