mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
17 lines
272 B
Java
Vendored
17 lines
272 B
Java
Vendored
package test;
|
|
|
|
class EnumEntriesInSwitch {
|
|
void foo() {
|
|
ZZZ a = ZZZ.A1;
|
|
switch (a) {
|
|
case A1: break;
|
|
case B1: break;
|
|
}
|
|
|
|
switch (ZZZ.B1) {
|
|
case A1: break;
|
|
case B1: break;
|
|
}
|
|
}
|
|
}
|