void () { doTest(""" enum E {A, B, C} class X { void m(E e) { switch(e) { case A -> {} case B -> {} case C -> {} } /*'switch' statement on enum type 'E' misses case 'C'*/switch/**/(e) { case A -> {} case B -> {} } /*'switch' statement on enum type 'E' misses case 'C'*/switch/**/(e) { case A, B -> {} } /*'switch' statement on enum type 'E' misses case 'C'*/switch/**/(e) { case A, B:break; } \s } }"""); }