Debian Codegraph @

gcc/testsuite/gdc.test/compilable/b17111.d

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